blob: a091a9271173ef10ed27251e81b826521d0755d7 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3MODULE := $(LOCAL_DIR)
4
5ARCH := arm
6ARM_CPU := cortex-a8
7CPU := generic
8
9# provides a few devices
10GLOBAL_DEFINES += \
11 WITH_DEV_UART=1
12
13MODULE_SRCS += \
14 $(LOCAL_DIR)/cpu_early_init.S \
15 $(LOCAL_DIR)/debug.c \
16 $(LOCAL_DIR)/i2c.c \
17 $(LOCAL_DIR)/interrupts.c \
18 $(LOCAL_DIR)/platform.c \
19 $(LOCAL_DIR)/timer.c \
20 $(LOCAL_DIR)/uart.c \
21
22# $(LOCAL_DIR)/usbc.c
23
24MEMBASE := 0x80000000
25
26GLOBAL_DEFINES += \
27 WITH_CPU_EARLY_INIT=1
28
29LINKER_SCRIPT += \
30 $(BUILDDIR)/system-onesegment.ld
31
32include make/module.mk