Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 0c8959d | 2002-08-14 08:04:29 +0000 | [diff] [blame] | 2 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 3 | # (C) Copyright 2000-2006 |
wdenk | 0c8959d | 2002-08-14 08:04:29 +0000 | [diff] [blame] | 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
wdenk | 0c8959d | 2002-08-14 08:04:29 +0000 | [diff] [blame] | 5 | |
Kyle Moffett | 78d58de | 2011-02-23 06:40:38 +0000 | [diff] [blame] | 6 | ## Build a couple of necessary functions into a private libgcc |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 7 | ## if the user asked for it |
Masahiro Yamada | e1a211d | 2014-03-05 16:59:38 +0900 | [diff] [blame] | 8 | lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o |
Kyle Moffett | 78d58de | 2011-02-23 06:40:38 +0000 | [diff] [blame] | 9 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 10 | MINIMAL= |
11 | |||||
12 | ifdef CONFIG_SPL_BUILD | ||||
13 | ifdef CONFIG_SPL_INIT_MINIMAL | ||||
14 | MINIMAL=y | ||||
15 | endif | ||||
16 | endif | ||||
17 | |||||
18 | ifdef MINIMAL | ||||
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 19 | obj-y += cache.o time.o |
20 | obj-y += ticks.o | ||||
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 21 | else |
22 | |||||
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 23 | obj-y += ppcstring.o |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 24 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 25 | obj-y += ppccache.o |
26 | obj-y += ticks.o | ||||
27 | obj-y += reloc.o | ||||
wdenk | 0c8959d | 2002-08-14 08:04:29 +0000 | [diff] [blame] | 28 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_BAT_RW) += bat_rw.o |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_CMD_BOOTM) += bootm.o |
31 | obj-y += cache.o | ||||
32 | obj-y += extable.o | ||||
33 | obj-y += interrupts.o | ||||
34 | obj-$(CONFIG_CMD_KGDB) += kgdb.o | ||||
Andreas Bießmann | 2542986 | 2015-02-06 23:06:45 +0100 | [diff] [blame] | 35 | obj-y += stack.o |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 36 | obj-y += time.o |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 37 | endif # not minimal |
38 | |||||
Stefan Roese | ec90d34 | 2012-08-23 08:34:21 +0200 | [diff] [blame] | 39 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 40 | obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
Stefan Roese | ec90d34 | 2012-08-23 08:34:21 +0200 | [diff] [blame] | 41 | endif |