mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
a5dfa3b8a0
As PLICSW is used to trigger the software interrupt, we should rename Andes PLIC configuration and file name to reflect the usage. This patch also updates PLMT and PLICSW compatible strings to be consistent with OpenSBI fdt driver. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Rick Chen <rick@andestech.com>
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (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_BOOTI) += bootm.o image.o
|
|
obj-$(CONFIG_CMD_GO) += boot.o
|
|
obj-y += cache.o
|
|
obj-$(CONFIG_SIFIVE_CACHE) += sifive_cache.o
|
|
ifeq ($(CONFIG_$(SPL_)RISCV_MMODE),y)
|
|
obj-$(CONFIG_$(SPL_)SIFIVE_CLINT) += sifive_clint.o
|
|
obj-$(CONFIG_ANDES_PLICSW) += andes_plicsw.o
|
|
else
|
|
obj-$(CONFIG_SBI) += sbi.o
|
|
obj-$(CONFIG_SBI_IPI) += sbi_ipi.o
|
|
endif
|
|
obj-y += interrupts.o
|
|
ifeq ($(CONFIG_$(SPL_)SYSRESET),)
|
|
obj-y += reset.o
|
|
endif
|
|
obj-y += setjmp.o
|
|
obj-$(CONFIG_$(SPL_)SMP) += smp.o
|
|
obj-$(CONFIG_SPL_BUILD) += spl.o
|
|
obj-y += fdt_fixup.o
|
|
|
|
# For building EFI apps
|
|
CFLAGS_NON_EFI := -fstack-protector-strong
|
|
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)
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMSET) += memset.o
|
|
obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMMOVE) += memmove.o
|
|
obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMCPY) += memcpy.o
|