blob: 1c332db436a9db87de191e31c482a59e528d6dfa [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
Anup Patel511107d2018-12-12 06:12:31 -080012obj-$(CONFIG_RISCV_RDTIME) += rdtime.o
Bin Meng644a3cd2018-12-12 06:12:30 -080013obj-$(CONFIG_SIFIVE_CLINT) += sifive_clint.o
Rick Chen0d389462019-04-02 15:56:39 +080014obj-$(CONFIG_ANDES_PLIC) += andes_plic.o
Rick Chena1f24872019-04-02 15:56:40 +080015obj-$(CONFIG_ANDES_PLMT) += andes_plmt.o
Rick Chen8bbb2902017-12-26 13:55:49 +080016obj-y += interrupts.o
Bin Mengb984ddc2018-09-26 06:55:22 -070017obj-y += reset.o
Lukas Auerf152feb2019-03-17 19:28:34 +010018obj-$(CONFIG_SBI_IPI) += sbi_ipi.o
Alexander Grafa7f99e52018-04-23 07:59:43 +020019obj-y += setjmp.o
Lukas Auerfa33f082019-03-17 19:28:32 +010020obj-$(CONFIG_SMP) += smp.o
Alexander Graf493d1e82018-04-23 07:59:45 +020021
22# For building EFI apps
23CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI)
24CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI)
25
26CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI)
27CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI)
28
29extra-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += $(EFI_CRT0) $(EFI_RELOC)
30extra-$(CONFIG_CMD_BOOTEFI_SELFTEST) += $(EFI_CRT0) $(EFI_RELOC)
31extra-$(CONFIG_EFI) += $(EFI_CRT0) $(EFI_RELOC)