blob: edb4fc6f48d24845f5a227e2061d11ecb8265f45 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3MODULE := $(LOCAL_DIR)
4
5MODULE_SRCS += \
6 $(LOCAL_DIR)/dl_commands.c \
7 $(LOCAL_DIR)/fastboot.c \
8 $(LOCAL_DIR)/ext_boot.c \
9
10MODULE_DEPS += \
11 lib/bio \
12 lib/mempool
13
14MODULE_COMPILEFLAGS += -Wno-sign-compare
15
16ifeq ($(strip $(ANDROID_2712)),yes)
17MODULE_COMPILEFLAGS += -DMT2712_ANDROID
18endif
19
20EXTRA_LINKER_SCRIPTS += $(LOCAL_DIR)/fastboot_oem_cmd.ld
21
22include make/module.mk