]> git.ipfire.org Git - thirdparty/u-boot.git/blame - env/Makefile
include/clk.h: Fix the name of the clock uclass in comment
[thirdparty/u-boot.git] / env / Makefile
CommitLineData
83d290c5 1# SPDX-License-Identifier: GPL-2.0+
0649cd0d
SG
2#
3# (C) Copyright 2004-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
0649cd0d 5
c9d728dd 6obj-y += common.o env.o
0649cd0d
SG
7
8ifndef CONFIG_SPL_BUILD
9obj-y += attr.o
10obj-y += callback.o
11obj-y += flags.o
0649cd0d
SG
12obj-$(CONFIG_ENV_IS_IN_EEPROM) += eeprom.o
13extra-$(CONFIG_ENV_IS_EMBEDDED) += embedded.o
14obj-$(CONFIG_ENV_IS_IN_EEPROM) += embedded.o
15extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o
16obj-$(CONFIG_ENV_IS_IN_NVRAM) += embedded.o
0649cd0d
SG
17obj-$(CONFIG_ENV_IS_IN_NVRAM) += nvram.o
18obj-$(CONFIG_ENV_IS_IN_ONENAND) += onenand.o
19obj-$(CONFIG_ENV_IS_IN_SATA) += sata.o
0649cd0d
SG
20obj-$(CONFIG_ENV_IS_IN_REMOTE) += remote.o
21obj-$(CONFIG_ENV_IS_IN_UBI) += ubi.o
0649cd0d 22else
474ecd2c
YS
23obj-$(CONFIG_$(SPL_TPL_)ENV_SUPPORT) += attr.o
24obj-$(CONFIG_$(SPL_TPL_)ENV_SUPPORT) += flags.o
25obj-$(CONFIG_$(SPL_TPL_)ENV_SUPPORT) += callback.o
0649cd0d
SG
26endif
27
474ecd2c
YS
28obj-$(CONFIG_$(SPL_TPL_)ENV_IS_NOWHERE) += nowhere.o
29obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_MMC) += mmc.o
30obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_FAT) += fat.o
31obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_EXT4) += ext4.o
32obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_NAND) += nand.o
33obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_SPI_FLASH) += sf.o
34obj-$(CONFIG_$(SPL_TPL_)ENV_IS_IN_FLASH) += flash.o
35
0649cd0d 36CFLAGS_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null)