40 lines
747 B
Makefile
40 lines
747 B
Makefile
|
LOCAL_DIR := $(GET_LOCAL_DIR)
|
||
|
|
||
|
INCLUDES += -I$(LOCAL_DIR)/include
|
||
|
|
||
|
PLATFORM := msm7k
|
||
|
|
||
|
MEMBASE := 0x00000000 # SMI
|
||
|
MEMSIZE := 0x00800000 # 8MB
|
||
|
|
||
|
BASE_ADDR := 0x10000000
|
||
|
|
||
|
TAGS_ADDR := BASE_ADDR+0x00000100
|
||
|
KERNEL_ADDR := BASE_ADDR+0x00800000
|
||
|
RAMDISK_ADDR := BASE_ADDR+0x01000000
|
||
|
SCRATCH_ADDR := BASE_ADDR+0x02000000
|
||
|
|
||
|
KEYS_USE_GPIO_KEYPAD := 1
|
||
|
|
||
|
DEFINES += DISPLAY_TYPE_MDDI=1
|
||
|
|
||
|
MODULES += \
|
||
|
dev/keys \
|
||
|
lib/ptable
|
||
|
|
||
|
DEFINES += \
|
||
|
SDRAM_SIZE=$(MEMSIZE) \
|
||
|
MEMBASE=$(MEMBASE) \
|
||
|
BASE_ADDR=$(BASE_ADDR) \
|
||
|
TAGS_ADDR=$(TAGS_ADDR) \
|
||
|
KERNEL_ADDR=$(KERNEL_ADDR) \
|
||
|
RAMDISK_ADDR=$(RAMDISK_ADDR) \
|
||
|
SCRATCH_ADDR=$(SCRATCH_ADDR)
|
||
|
|
||
|
|
||
|
OBJS += \
|
||
|
$(LOCAL_DIR)/init.o \
|
||
|
$(LOCAL_DIR)/keypad.o \
|
||
|
$(LOCAL_DIR)/atags.o \
|
||
|
$(LOCAL_DIR)/panel.o
|