forked from OERV-BSP/u-boot
Symbols in spl.c only function correctly in SPL stage. Build the file
for SPL only to avoid weak symbols in proper U-Boot being unexpectedly
reloaded.
Fixes: 5fe9ced355 ("riscv: cpu: Add TH1520 CPU support")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
9 lines
169 B
Makefile
9 lines
169 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2025, Yao Zi <ziyao@disroot.org>
|
|
|
|
obj-y += cache.o
|
|
obj-y += cpu.o
|
|
obj-y += dram.o
|
|
obj-$(CONFIG_SPL_BUILD) += spl.o
|