Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Andy Fleming | 3c98e7b | 2015-11-04 15:48:32 -0600 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2006 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Andy Fleming | 3c98e7b | 2015-11-04 15:48:32 -0600 | [diff] [blame] | 5 | |
| 6 | MINIMAL= |
| 7 | |
| 8 | ifdef CONFIG_SPL_BUILD |
| 9 | ifdef CONFIG_SPL_INIT_MINIMAL |
| 10 | MINIMAL=y |
| 11 | endif |
| 12 | endif |
| 13 | |
| 14 | ifdef MINIMAL |
| 15 | # necessary to create built-in.o |
| 16 | obj- := __dummy__.o |
| 17 | else |
| 18 | ifndef CONFIG_SPL_BUILD |
| 19 | obj-$(CONFIG_ID_EEPROM) += sys_eeprom.o |
| 20 | endif |
| 21 | endif |