cLK/lk/platform/armemu/rules.mk

29 lines
447 B
Makefile
Raw Normal View History

2011-11-06 23:26:22 +00:00
LOCAL_DIR := $(GET_LOCAL_DIR)
ARCH := arm
ARM_CPU := arm926ej-s
CPU := generic
# emulater doesn't support thumb properly
ENABLE_THUMB := false
INCLUDES += \
-I$(LOCAL_DIR)/include
OBJS += \
$(LOCAL_DIR)/debug.o \
$(LOCAL_DIR)/interrupts.o \
$(LOCAL_DIR)/platform.o \
$(LOCAL_DIR)/timer.o \
# $(LOCAL_DIR)/console.o \
$(LOCAL_DIR)/net.o \
MEMBASE := 0x0
MEMSIZE := 0x400000 # 4MB
LINKER_SCRIPT += \
$(BUILDDIR)/system-onesegment.ld