aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/riscv/cpu/fu540/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/riscv/cpu/fu540/Makefile')
-rw-r--r--roms/u-boot/arch/riscv/cpu/fu540/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/roms/u-boot/arch/riscv/cpu/fu540/Makefile b/roms/u-boot/arch/riscv/cpu/fu540/Makefile
new file mode 100644
index 000000000..088205ef5
--- /dev/null
+++ b/roms/u-boot/arch/riscv/cpu/fu540/Makefile
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2020 SiFive, Inc
+# Pragnesh Patel <pragnesh.patel@sifive.com>
+
+ifeq ($(CONFIG_SPL_BUILD),y)
+obj-y += spl.o
+else
+obj-y += dram.o
+obj-y += cpu.o
+obj-y += cache.o
+endif