blob: a54e924d41987c6790afadaa9c3c42608553ea60 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass547cb402017-08-03 12:21:49 -06002#
3# (C) Copyright 2004-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Simon Glass547cb402017-08-03 12:21:49 -06005
Simon Glass4cafa212024-09-29 19:49:54 -06006obj-$(CONFIG_$(PHASE_)ENV_SUPPORT) += common.o
7obj-$(CONFIG_$(PHASE_)ENV_SUPPORT) += env.o
8obj-$(CONFIG_$(PHASE_)ENV_SUPPORT) += attr.o
9obj-$(CONFIG_$(PHASE_)ENV_SUPPORT) += flags.o
Simon Glass547cb402017-08-03 12:21:49 -060010
Simon Glass0e84d962024-09-29 19:49:50 -060011ifndef CONFIG_XPL_BUILD
Rasmus Villemoesa6648702020-02-27 13:56:10 +000012obj-y += callback.o
Simon Glass547cb402017-08-03 12:21:49 -060013obj-$(CONFIG_ENV_IS_IN_EEPROM) += eeprom.o
Simon Glass547cb402017-08-03 12:21:49 -060014obj-$(CONFIG_ENV_IS_IN_EEPROM) += embedded.o
15extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o
16obj-$(CONFIG_ENV_IS_IN_NVRAM) += embedded.o
Simon Glass547cb402017-08-03 12:21:49 -060017obj-$(CONFIG_ENV_IS_IN_NVRAM) += nvram.o
18obj-$(CONFIG_ENV_IS_IN_ONENAND) += onenand.o
Simon Glass547cb402017-08-03 12:21:49 -060019obj-$(CONFIG_ENV_IS_IN_REMOTE) += remote.o
20obj-$(CONFIG_ENV_IS_IN_UBI) += ubi.o
Simon Glass547cb402017-08-03 12:21:49 -060021endif
York Sun187da8d2018-06-26 10:03:22 -070022
Simon Glass4cafa212024-09-29 19:49:54 -060023obj-$(CONFIG_$(PHASE_)ENV_IS_NOWHERE) += nowhere.o
24obj-$(CONFIG_$(PHASE_)ENV_IS_IN_MMC) += mmc.o
25obj-$(CONFIG_$(PHASE_)ENV_IS_IN_FAT) += fat.o
26obj-$(CONFIG_$(PHASE_)ENV_IS_IN_EXT4) += ext4.o
27obj-$(CONFIG_$(PHASE_)ENV_IS_IN_NAND) += nand.o
28obj-$(CONFIG_$(PHASE_)ENV_IS_IN_SPI_FLASH) += sf.o
29obj-$(CONFIG_$(PHASE_)ENV_IS_IN_FLASH) += flash.o
Simon Glass547cb402017-08-03 12:21:49 -060030
31CFLAGS_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null)