1 # SPDX-License-Identifier: GPL-2.0+
3 # (C) Copyright 2000-2006
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # Copyright (C) 2017 Andes Technology Corporation
7 # Rick Chen, Andes Technology Corporation <rick@andestech.com>
9 obj-$(CONFIG_CMD_BOOTM) += bootm.o
10 obj-$(CONFIG_CMD_GO) += boot.o
15 # For building EFI apps
16 CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI)
17 CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI)
19 CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI)
20 CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI)
22 extra-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += $(EFI_CRT0) $(EFI_RELOC)
23 extra-$(CONFIG_CMD_BOOTEFI_SELFTEST) += $(EFI_CRT0) $(EFI_RELOC)
24 extra-$(CONFIG_EFI) += $(EFI_CRT0) $(EFI_RELOC)