2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-08-14 08:04:29 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2000-2006
|
2002-08-14 08:04:29 +00:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
2011-02-23 06:40:38 +00:00
|
|
|
## Build a couple of necessary functions into a private libgcc
|
2013-10-17 08:35:04 +00:00
|
|
|
## if the user asked for it
|
2014-03-05 07:59:38 +00:00
|
|
|
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
|
2011-02-23 06:40:38 +00:00
|
|
|
|
2012-09-20 21:35:21 +00:00
|
|
|
MINIMAL=
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2022-05-13 16:26:35 +00:00
|
|
|
ifndef CONFIG_TPL_BUILD
|
2012-09-20 21:35:21 +00:00
|
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
|
|
MINIMAL=y
|
|
|
|
endif
|
|
|
|
endif
|
2022-05-13 16:26:35 +00:00
|
|
|
endif
|
2012-09-20 21:35:21 +00:00
|
|
|
|
2020-05-10 20:16:57 +00:00
|
|
|
obj-y += bdinfo.o
|
|
|
|
|
2012-09-20 21:35:21 +00:00
|
|
|
ifdef MINIMAL
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += cache.o time.o
|
2018-08-06 08:23:38 +00:00
|
|
|
ifndef CONFIG_TIMER
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += ticks.o
|
2018-08-06 08:23:38 +00:00
|
|
|
endif
|
2012-09-20 21:35:21 +00:00
|
|
|
else
|
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += ppcstring.o
|
2012-09-20 21:35:21 +00:00
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += ppccache.o
|
2018-08-06 08:23:38 +00:00
|
|
|
ifndef CONFIG_TIMER
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += ticks.o
|
2018-08-06 08:23:38 +00:00
|
|
|
endif
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += reloc.o
|
2008-02-27 10:00:47 +00:00
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
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
|
2015-02-06 22:06:45 +00:00
|
|
|
obj-y += stack.o
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += time.o
|
2020-11-28 08:43:18 +00:00
|
|
|
obj-y += traps.o
|
2012-09-20 21:35:21 +00:00
|
|
|
endif # not minimal
|
|
|
|
|
2012-08-23 06:34:21 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2019-07-16 08:12:02 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL)_FRAMEWORK) += spl.o
|
2012-08-23 06:34:21 +00:00
|
|
|
endif
|