Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2004-2006 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 5 | |
Rasmus Villemoes | ecdf074 | 2019-12-15 22:29:39 +0000 | [diff] [blame] | 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 |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 10 | |
Simon Glass | 0e84d96 | 2024-09-29 19:49:50 -0600 | [diff] [blame^] | 11 | ifndef CONFIG_XPL_BUILD |
Rasmus Villemoes | a664870 | 2020-02-27 13:56:10 +0000 | [diff] [blame] | 12 | obj-y += callback.o |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_ENV_IS_IN_EEPROM) += eeprom.o |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 14 | obj-$(CONFIG_ENV_IS_IN_EEPROM) += embedded.o |
| 15 | extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o |
| 16 | obj-$(CONFIG_ENV_IS_IN_NVRAM) += embedded.o |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 17 | obj-$(CONFIG_ENV_IS_IN_NVRAM) += nvram.o |
| 18 | obj-$(CONFIG_ENV_IS_IN_ONENAND) += onenand.o |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_ENV_IS_IN_REMOTE) += remote.o |
| 20 | obj-$(CONFIG_ENV_IS_IN_UBI) += ubi.o |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 21 | endif |
York Sun | 187da8d | 2018-06-26 10:03:22 -0700 | [diff] [blame] | 22 | |
| 23 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_NOWHERE) += nowhere.o |
| 24 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_MMC) += mmc.o |
| 25 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_FAT) += fat.o |
| 26 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_EXT4) += ext4.o |
| 27 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_NAND) += nand.o |
| 28 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_SPI_FLASH) += sf.o |
| 29 | obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_FLASH) += flash.o |
Simon Glass | 547cb40 | 2017-08-03 12:21:49 -0600 | [diff] [blame] | 30 | |
| 31 | CFLAGS_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null) |