blob: cc562f935a7ac1038d948cf4b24f62aebae64f1a [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Rick Chen8bbb2902017-12-26 13:55:49 +08002#
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 Chen8bbb2902017-12-26 13:55:49 +08008
9obj-$(CONFIG_CMD_BOOTM) += bootm.o
10obj-$(CONFIG_CMD_GO) += boot.o
11obj-y += cache.o
12obj-y += interrupts.o
Alexander Grafa7f99e52018-04-23 07:59:43 +020013obj-y += setjmp.o
Alexander Graf493d1e82018-04-23 07:59:45 +020014
15# For building EFI apps
16CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI)
17CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI)
18
19CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI)
20CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI)
21
22extra-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += $(EFI_CRT0) $(EFI_RELOC)
23extra-$(CONFIG_CMD_BOOTEFI_SELFTEST) += $(EFI_CRT0) $(EFI_RELOC)
24extra-$(CONFIG_EFI) += $(EFI_CRT0) $(EFI_RELOC)