Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Rick Chen | 6eedd92 | 2017-12-26 13:55:49 +0800 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2006 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 5 | # |
| 6 | # Copyright (C) 2017 Andes Technology Corporation |
| 7 | # Rick Chen, Andes Technology Corporation <rick@andestech.com> |
Rick Chen | 6eedd92 | 2017-12-26 13:55:49 +0800 | [diff] [blame] | 8 | |
| 9 | obj-$(CONFIG_CMD_BOOTM) += bootm.o |
| 10 | obj-$(CONFIG_CMD_GO) += boot.o |
| 11 | obj-y += cache.o |
| 12 | obj-y += interrupts.o |
Alexander Graf | 3bb8f01 | 2018-04-23 07:59:43 +0200 | [diff] [blame] | 13 | obj-y += setjmp.o |
Alexander Graf | 31bdde9 | 2018-04-23 07:59:45 +0200 | [diff] [blame^] | 14 | |
| 15 | # For building EFI apps |
| 16 | CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI) |
| 17 | CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI) |
| 18 | |
| 19 | CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI) |
| 20 | CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI) |
| 21 | |
| 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) |