rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
| 3 | MODULE := $(LOCAL_DIR) |
| 4 | |
| 5 | ARCH := arm |
| 6 | ARM_CPU := armemu |
| 7 | CPU := generic |
| 8 | |
| 9 | WITH_KERNEL_VM := 0 |
| 10 | KERNEL_BASE := 0x0 |
| 11 | |
| 12 | MODULE_SRCS += \ |
| 13 | $(LOCAL_DIR)/debug.c \ |
| 14 | $(LOCAL_DIR)/interrupts.c \ |
| 15 | $(LOCAL_DIR)/platform.c \ |
| 16 | $(LOCAL_DIR)/timer.c \ |
| 17 | $(LOCAL_DIR)/blkdev.c \ |
| 18 | $(LOCAL_DIR)/display.c \ |
| 19 | |
| 20 | # $(LOCAL_DIR)/console.c \ |
| 21 | $(LOCAL_DIR)/net.c \ |
| 22 | |
| 23 | GLOBAL_DEFINES += \ |
| 24 | WITH_DEV_DISPLAY=1 |
| 25 | |
| 26 | MODULE_DEPS += \ |
| 27 | lib/gfx |
| 28 | |
| 29 | MEMBASE := 0x0 |
| 30 | MEMSIZE := 0x400000 # 4MB |
| 31 | |
| 32 | LINKER_SCRIPT += \ |
| 33 | $(BUILDDIR)/system-onesegment.ld |
| 34 | |
| 35 | include make/module.mk |