Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Rick Chen | 8bbb290 | 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 | 8bbb290 | 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 |
Anup Patel | 511107d | 2018-12-12 06:12:31 -0800 | [diff] [blame] | 12 | obj-$(CONFIG_RISCV_RDTIME) += rdtime.o |
Bin Meng | 644a3cd | 2018-12-12 06:12:30 -0800 | [diff] [blame] | 13 | obj-$(CONFIG_SIFIVE_CLINT) += sifive_clint.o |
Rick Chen | 0d38946 | 2019-04-02 15:56:39 +0800 | [diff] [blame] | 14 | obj-$(CONFIG_ANDES_PLIC) += andes_plic.o |
Rick Chen | a1f2487 | 2019-04-02 15:56:40 +0800 | [diff] [blame^] | 15 | obj-$(CONFIG_ANDES_PLMT) += andes_plmt.o |
Rick Chen | 8bbb290 | 2017-12-26 13:55:49 +0800 | [diff] [blame] | 16 | obj-y += interrupts.o |
Bin Meng | b984ddc | 2018-09-26 06:55:22 -0700 | [diff] [blame] | 17 | obj-y += reset.o |
Lukas Auer | f152feb | 2019-03-17 19:28:34 +0100 | [diff] [blame] | 18 | obj-$(CONFIG_SBI_IPI) += sbi_ipi.o |
Alexander Graf | a7f99e5 | 2018-04-23 07:59:43 +0200 | [diff] [blame] | 19 | obj-y += setjmp.o |
Lukas Auer | fa33f08 | 2019-03-17 19:28:32 +0100 | [diff] [blame] | 20 | obj-$(CONFIG_SMP) += smp.o |
Alexander Graf | 493d1e8 | 2018-04-23 07:59:45 +0200 | [diff] [blame] | 21 | |
| 22 | # For building EFI apps |
| 23 | CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI) |
| 24 | CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI) |
| 25 | |
| 26 | CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI) |
| 27 | CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI) |
| 28 | |
| 29 | extra-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += $(EFI_CRT0) $(EFI_RELOC) |
| 30 | extra-$(CONFIG_CMD_BOOTEFI_SELFTEST) += $(EFI_CRT0) $(EFI_RELOC) |
| 31 | extra-$(CONFIG_EFI) += $(EFI_CRT0) $(EFI_RELOC) |