2018-05-06 17:58:06 -04:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-08-14 08:04:29 +00:00
|
|
|
#
|
2006-09-01 19:49:50 +02: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 17:35:04 +09:00
|
|
|
## if the user asked for it
|
2014-03-05 16:59:38 +09:00
|
|
|
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
|
2011-02-23 06:40:38 +00:00
|
|
|
|
2012-09-20 16:35:21 -05:00
|
|
|
MINIMAL=
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
|
|
MINIMAL=y
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2020-05-10 14:16:57 -06:00
|
|
|
obj-y += bdinfo.o
|
|
|
|
|
2012-09-20 16:35:21 -05:00
|
|
|
ifdef MINIMAL
|
2013-10-17 17:35:04 +09:00
|
|
|
obj-y += cache.o time.o
|
2018-08-06 10:23:38 +02:00
|
|
|
ifndef CONFIG_TIMER
|
2013-10-17 17:35:04 +09:00
|
|
|
obj-y += ticks.o
|
2018-08-06 10:23:38 +02:00
|
|
|
endif
|
2012-09-20 16:35:21 -05:00
|
|
|
else
|
|
|
|
|
2013-10-17 17:35:04 +09:00
|
|
|
obj-y += ppcstring.o
|
2012-09-20 16:35:21 -05:00
|
|
|
|
2013-10-17 17:35:04 +09:00
|
|
|
obj-y += ppccache.o
|
2018-08-06 10:23:38 +02:00
|
|
|
ifndef CONFIG_TIMER
|
2013-10-17 17:35:04 +09:00
|
|
|
obj-y += ticks.o
|
2018-08-06 10:23:38 +02:00
|
|
|
endif
|
2013-10-17 17:35:04 +09:00
|
|
|
obj-y += reloc.o
|
2008-02-27 11:00:47 +01:00
|
|
|
|
2013-10-17 17:35:04 +09: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 23:06:45 +01:00
|
|
|
obj-y += stack.o
|
2013-10-17 17:35:04 +09:00
|
|
|
obj-y += time.o
|
2020-11-28 10:43:18 +02:00
|
|
|
obj-y += traps.o
|
2012-09-20 16:35:21 -05:00
|
|
|
endif # not minimal
|
|
|
|
|
2012-08-23 08:34:21 +02:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2019-07-16 10:12:02 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL)_FRAMEWORK) += spl.o
|
2012-08-23 08:34:21 +02:00
|
|
|
endif
|