aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/powerpc/lib/Makefile
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot/arch/powerpc/lib/Makefile
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/powerpc/lib/Makefile')
-rw-r--r--roms/u-boot/arch/powerpc/lib/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/roms/u-boot/arch/powerpc/lib/Makefile b/roms/u-boot/arch/powerpc/lib/Makefile
new file mode 100644
index 000000000..2782740bf
--- /dev/null
+++ b/roms/u-boot/arch/powerpc/lib/Makefile
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# (C) Copyright 2000-2006
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+
+## Build a couple of necessary functions into a private libgcc
+## if the user asked for it
+lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
+
+MINIMAL=
+
+ifdef CONFIG_SPL_BUILD
+ifdef CONFIG_SPL_INIT_MINIMAL
+MINIMAL=y
+endif
+endif
+
+obj-y += bdinfo.o
+
+ifdef MINIMAL
+obj-y += cache.o time.o
+ifndef CONFIG_TIMER
+obj-y += ticks.o
+endif
+else
+
+obj-y += ppcstring.o
+
+obj-y += ppccache.o
+ifndef CONFIG_TIMER
+obj-y += ticks.o
+endif
+obj-y += reloc.o
+
+obj-$(CONFIG_BAT_RW) += bat_rw.o
+obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-y += cache.o
+obj-y += extable.o
+obj-y += interrupts.o
+obj-$(CONFIG_CMD_KGDB) += kgdb.o
+obj-y += stack.o
+obj-y += time.o
+obj-y += traps.o
+endif # not minimal
+
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_$(SPL_TPL)_FRAMEWORK) += spl.o
+endif