blob: 4af5cb0c910c546902b1f0e0521ee84a696a7115 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3MODULE := $(LOCAL_DIR)
4
5ARCH := arm
6ARM_CPU := armemu
7CPU := generic
8
9WITH_KERNEL_VM := 0
10KERNEL_BASE := 0x0
11
12MODULE_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
23GLOBAL_DEFINES += \
24 WITH_DEV_DISPLAY=1
25
26MODULE_DEPS += \
27 lib/gfx
28
29MEMBASE := 0x0
30MEMSIZE := 0x400000 # 4MB
31
32LINKER_SCRIPT += \
33 $(BUILDDIR)/system-onesegment.ld
34
35include make/module.mk