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