sdk-hwV1.3/lichee/brandy-2.0/u-boot-2018/board/sunxi/Makefile

51 lines
1.7 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
#
# Based on some other board Makefile
#
# (C) Copyright 2000-2003
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
obj-y += board.o
obj-y += board_common.o board_helper.o
obj-y += sys_config.o
obj-y += sys_partition.o
obj-$(CONFIG_SUNXI_MAC) += sunxi_mac.o
obj-$(CONFIG_SUN7I_GMAC) += gmac.o
ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_SUNXI_AHCI) += ahci.o
endif
obj-$(CONFIG_MACH_SUN4I) += dram_sun4i_auto.o
obj-$(CONFIG_MACH_SUN5I) += dram_sun5i_auto.o
obj-$(CONFIG_MACH_SUN7I) += dram_sun5i_auto.o
obj-$(CONFIG_SUNXI_IMAGE_VERIFIER) += sunxi_image_verifier.o
obj-$(CONFIG_SUNXI_BURN) += key_burn.o
obj-$(CONFIG_CMD_SUNXI_AUTO_FEL) += sunxi_auto_fel.o
obj-$(CONFIG_SUNXI_SERIAL) += sunxi_serial.o
obj-$(CONFIG_SUNXI_KEYBOX) += sunxi_keybox.o
obj-y += sunxi_bootargs.o
obj-y += android/
obj-y += homlet/
obj-$(CONFIG_SUNXI_POWER) += power_manage.o
obj-$(CONFIG_SUNXI_SWITCH_SYSTEM) += sunxi_switch_system.o
obj-$(CONFIG_SUNXI_UPDATE_REMIND) += sunxi_update_remind.o
ifneq ($(CONFIG_SUNXI_REPLACE_FDT_FROM_PARTITION)$(CONFIG_SUNXI_NECESSARY_REPLACE_FDT),)
obj-y += sunxi_replace_fdt.o
endif
obj-$(CONFIG_SUNXI_LRADC_VOL) += sunxi_lradc_vol.o
obj-$(CONFIG_SUNXI_MIPS) += sunxi_mips.o
obj-$(CONFIG_SUNXI_IMAGE_HEADER) += sunxi_image_header.o
obj-$(CONFIG_SUNXI_ANTI_COPY_BOARD) += sunxi_anti_copy_board.o
obj-$(CONFIG_SUNXI_MEM_INFO) += sunxi_mem_info.o
obj-$(CONFIG_SUNXI_RKP) += sunxi_rkp.o
CFLAGS_sunxi_rkp.o = -I$(srctree)/lib/libmbedtls/include \
-I$(srctree)/lib/open-dice/include/\
obj-y += sunxi_challenge.o
obj-y += sunxi_cmdline_helper.o
subdir-ccflags-$(CONFIG_SUNXI_TRACE) += -finstrument-functions