2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2017-12-26 05:55:49 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2017 Andes Technology Corporation
|
|
|
|
# Rick Chen, Andes Technology Corporation <rick@andestech.com>
|
|
|
|
|
|
|
|
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
|
|
|
obj-$(CONFIG_CMD_GO) += boot.o
|
|
|
|
obj-y += cache.o
|
2018-12-12 14:12:31 +00:00
|
|
|
obj-$(CONFIG_RISCV_RDTIME) += rdtime.o
|
2018-12-12 14:12:30 +00:00
|
|
|
obj-$(CONFIG_SIFIVE_CLINT) += sifive_clint.o
|
2017-12-26 05:55:49 +00:00
|
|
|
obj-y += interrupts.o
|
2018-09-26 13:55:22 +00:00
|
|
|
obj-y += reset.o
|
2019-03-17 18:28:34 +00:00
|
|
|
obj-$(CONFIG_SBI_IPI) += sbi_ipi.o
|
2018-04-23 05:59:43 +00:00
|
|
|
obj-y += setjmp.o
|
2019-03-17 18:28:32 +00:00
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2018-04-23 05:59:45 +00:00
|
|
|
|
|
|
|
# For building EFI apps
|
|
|
|
CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI)
|
|
|
|
CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI)
|
|
|
|
|
|
|
|
CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI)
|
|
|
|
CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI)
|
|
|
|
|
|
|
|
extra-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += $(EFI_CRT0) $(EFI_RELOC)
|
|
|
|
extra-$(CONFIG_CMD_BOOTEFI_SELFTEST) += $(EFI_CRT0) $(EFI_RELOC)
|
|
|
|
extra-$(CONFIG_EFI) += $(EFI_CRT0) $(EFI_RELOC)
|