M7350/bootable/bootloader/lk/project/mdm9635.mk
2024-09-09 08:57:42 +00:00

37 lines
672 B
Makefile

# top level project rules for the mdm9635 project
#
LOCAL_DIR := $(GET_LOCAL_DIR)
TARGET := mdm9635
MODULES += app/aboot
ifeq ($(TARGET_BUILD_VARIANT),user)
DEBUG := 0
else
DEBUG := 1
endif
#DEFINES += WITH_DEBUG_DCC=1
DEFINES += WITH_DEBUG_UART=1
#DEFINES += WITH_DEBUG_FBCON=1
DEFINES += DEVICE_TREE=1
DEFINES += CONTIGUOUS_MEMORY=1
#disable Thumb mode for the codesourcery/arm-2011.03 toolchain
ENABLE_THUMB := false
#Override linker for mdm targets
LD := $(TOOLCHAIN_PREFIX)ld.bfd
ENABLE_USB30_SUPPORT := 1
ifeq ($(ENABLE_USB30_SUPPORT),1)
DEFINES += USB30_SUPPORT=1
endif
ENABLE_SMD_SUPPORT := 1
ifeq ($(ENABLE_SMD_SUPPORT),1)
DEFINES += SMD_SUPPORT=1
endif