First version
[3rdparty/ote_partner/tlk.git] / platform / armemu / rules.mk
1 LOCAL_DIR := $(GET_LOCAL_DIR)
2
3 MODULE := $(LOCAL_DIR)
4
5 ARCH := arm
6 ARM_CPU := arm926ej-s
7 CPU := generic
8
9 # emulater doesn't support thumb properly
10 ENABLE_THUMB := false
11
12 INCLUDES += \
13         -I$(LOCAL_DIR)/include
14
15 MODULE_SRCS += \
16         $(LOCAL_DIR)/debug.c \
17         $(LOCAL_DIR)/interrupts.c \
18         $(LOCAL_DIR)/platform.c \
19         $(LOCAL_DIR)/timer.c \
20         $(LOCAL_DIR)/blkdev.c \
21         $(LOCAL_DIR)/display.c \
22
23 #       $(LOCAL_DIR)/console.c \
24         $(LOCAL_DIR)/net.c \
25
26 DEFINES += \
27         WITH_DEV_DISPLAY=1
28
29 MODULE_DEPS += \
30         lib/gfx
31
32 MEMBASE := 0x0
33 MEMSIZE := 0x400000     # 4MB
34
35 DEFINES += \
36         MEMBASE=$(MEMBASE) \
37         MEMSIZE=$(MEMSIZE)
38
39 LINKER_SCRIPT += \
40         $(BUILDDIR)/system-onesegment.ld
41
42 include make/module.mk