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

34 lines
633 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 := mdm9x15
MEMBASE := 0x41700000
MEMSIZE := 0x00100000 # 1MB
BASE_ADDR := 0x40800000
SCRATCH_ADDR := BASE_ADDR+0x05000000
DEFINES += NO_KEYPAD_DRIVER=1
MODULES += \
dev/keys \
dev/ssbi \
dev/pmic/pm8921 \
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)/atags.o \
$(LOCAL_DIR)/keypad.o