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.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-08-14 08:04:29 +00:00
|
|
|
#
|
|
|
|
|
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
|
|
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
|
|
MINIMAL=y
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2017-03-31 14:40:36 +00:00
|
|
|
obj-$(CONFIG_SYS_EXTBDINFO) += setup.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
|
|
|
|
obj-y += ticks.o
|
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
|
|
|
|
obj-y += ticks.o
|
|
|
|
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
|
2012-09-20 21:35:21 +00:00
|
|
|
endif # not minimal
|
|
|
|
|
2012-08-23 06:34:21 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
|
2012-08-23 06:34:21 +00:00
|
|
|
endif
|