summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-04-04 16:10:40 +0200
committerWolfgang Denk <wd@denx.de>2009-04-04 16:10:40 +0200
commitafcbce07e9323c0e8aeb783ba7ce6104860fd7a7 (patch)
treee9aa667a5cd34eef5b08a7d5471d9ff075d0e5d3 /common
parenta31e091ad70915278fb15b79d6ae53ea2d44b251 (diff)
downloadu-boot-imx-afcbce07e9323c0e8aeb783ba7ce6104860fd7a7.zip
u-boot-imx-afcbce07e9323c0e8aeb783ba7ce6104860fd7a7.tar.gz
u-boot-imx-afcbce07e9323c0e8aeb783ba7ce6104860fd7a7.tar.bz2
Fix building of env_embedded.o
Since commit a706bfc7 common/env_embedded.o and tools/envcrc were only built when CONFIG_ENV_IS_EMBEDDED was set, but this breaks building for many boards. We always have to build these files when CONFIG_ENV_IS_IN_FLASH is set. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 0a93462..a42440a 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -52,6 +52,7 @@ COBJS-y += env_common.o
COBJS-$(CONFIG_ENV_IS_IN_DATAFLASH) += env_dataflash.o
COBJS-$(CONFIG_ENV_IS_IN_EEPROM) += env_eeprom.o
COBJS-$(CONFIG_ENV_IS_EMBEDDED) += env_embedded.o
+COBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o
COBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
COBJS-$(CONFIG_ENV_IS_IN_MG_DISK) += env_mgdisk.o
COBJS-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o