]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | # SPDX-License-Identifier: GPL-2.0+ |
0649cd0d SG |
2 | # |
3 | # (C) Copyright 2004-2006 | |
4 | # Wolfgang Denk, DENX Software Engineering, [email protected]. | |
0649cd0d | 5 | |
c8221680 RV |
6 | obj-$(CONFIG_$(SPL_TPL_)ENV_SUPPORT) += common.o |
7 | obj-$(CONFIG_$(SPL_TPL_)ENV_SUPPORT) += env.o | |
8 | obj-$(CONFIG_$(SPL_TPL_)ENV_SUPPORT) += attr.o | |
9 | obj-$(CONFIG_$(SPL_TPL_)ENV_SUPPORT) += flags.o | |
0649cd0d SG |
10 | |
11 | ifndef CONFIG_SPL_BUILD | |
e13df08a | 12 | obj-y += callback.o |
0649cd0d SG |
13 | obj-$(CONFIG_ENV_IS_IN_EEPROM) += eeprom.o |
14 | extra-$(CONFIG_ENV_IS_EMBEDDED) += embedded.o | |
15 | obj-$(CONFIG_ENV_IS_IN_EEPROM) += embedded.o | |
16 | extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o | |
17 | obj-$(CONFIG_ENV_IS_IN_NVRAM) += embedded.o | |
0649cd0d SG |
18 | obj-$(CONFIG_ENV_IS_IN_NVRAM) += nvram.o |
19 | obj-$(CONFIG_ENV_IS_IN_ONENAND) += onenand.o | |
20 | obj-$(CONFIG_ENV_IS_IN_SATA) += sata.o | |
0649cd0d SG |
21 | obj-$(CONFIG_ENV_IS_IN_REMOTE) += remote.o |
22 | obj-$(CONFIG_ENV_IS_IN_UBI) += ubi.o | |
0649cd0d SG |
23 | endif |
24 | ||
474ecd2c YS |
25 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_NOWHERE) += nowhere.o |
26 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_MMC) += mmc.o | |
27 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_FAT) += fat.o | |
28 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_EXT4) += ext4.o | |
29 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_NAND) += nand.o | |
30 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_SPI_FLASH) += sf.o | |
31 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_FLASH) += flash.o | |
32 | ||
0649cd0d | 33 | CFLAGS_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null) |