blob: 35dbf643e46767c04ba8e2c50379ae1c4de2d610 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Rick Chen6eedd922017-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 Chen6eedd922017-12-26 13:55:49 +08008
9obj-$(CONFIG_CMD_BOOTM) += bootm.o
10obj-$(CONFIG_CMD_GO) += boot.o
11obj-y += cache.o
Anup Patelf3c84792018-12-12 06:12:31 -080012obj-$(CONFIG_RISCV_RDTIME) += rdtime.o
Bin Mengb6ee5e12018-12-12 06:12:30 -080013obj-$(CONFIG_SIFIVE_CLINT) += sifive_clint.o
Rick Chen6eedd922017-12-26 13:55:49 +080014obj-y += interrupts.o
Bin Mengde8d80e2018-09-26 06:55:22 -070015obj-y += reset.o
Lukas Auere79178b2019-03-17 19:28:34 +010016obj-$(CONFIG_SBI_IPI) += sbi_ipi.o
Alexander Graf3bb8f012018-04-23 07:59:43 +020017obj-y += setjmp.o
Lukas Auer83d573d2019-03-17 19:28:32 +010018obj-$(CONFIG_SMP) += smp.o
Alexander Graf31bdde92018-04-23 07:59:45 +020019
20# For building EFI apps
21CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI)
22CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI)
23
24CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI)
25CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI)
26
27extra-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += $(EFI_CRT0) $(EFI_RELOC)
28extra-$(CONFIG_CMD_BOOTEFI_SELFTEST) += $(EFI_CRT0) $(EFI_RELOC)
29extra-$(CONFIG_EFI) += $(EFI_CRT0) $(EFI_RELOC)