M7350/bootable/bootloader/lk/target/qsd8650a_st1x/rules.mk

39 lines
797 B
Makefile
Raw Normal View History

2024-09-09 08:52:07 +00:00
LOCAL_DIR := $(GET_LOCAL_DIR)
INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
PLATFORM := qsd8650a
MEMBASE := 0xE0000000 # SMI
MEMSIZE := 0x00100000 # 1MB
BASE_ADDR := 0x00000000
TAGS_ADDR := BASE_ADDR+0x00000100
KERNEL_ADDR := BASE_ADDR+0x00008000
RAMDISK_ADDR := BASE_ADDR+0x04000000
SCRATCH_ADDR := BASE_ADDR+0x00008000
KEYS_USE_GPIO_KEYPAD := 1
DEFINES += ENABLE_BATTERY_CHARGING=0
DEFINES += NO_KEYPAD_DRIVER=1
MODULES += \
dev/keys \
lib/ptable
DEFINES += \
MEMBASE=$(MEMBASE) \
SDRAM_SIZE=$(MEMSIZE) \
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)/atags.o \
$(LOCAL_DIR)/keypad.o