summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:58 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:58 +0200
commitd8cc04d0ac9c7c0d12454708aaf5489f8532bbf9 (patch)
treef95e8d31ec4f7f1aae9fefd0e8f28621aaae7e89 /common/Makefile
parent057c849c45b9ee19df8ff3acdeee66be52819962 (diff)
downloadu-boot-imx-d8cc04d0ac9c7c0d12454708aaf5489f8532bbf9.zip
u-boot-imx-d8cc04d0ac9c7c0d12454708aaf5489f8532bbf9.tar.gz
u-boot-imx-d8cc04d0ac9c7c0d12454708aaf5489f8532bbf9.tar.bz2
env_dataflash: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index fea0caf..27f515b 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -50,7 +50,7 @@ COBJS-y += cmd_nvedit.o
# environment
COBJS-y += environment.o
COBJS-y += env_common.o
-COBJS-y += env_dataflash.o
+COBJS-$(CONFIG_ENV_IS_IN_DATAFLASH) += env_dataflash.o
COBJS-$(CONFIG_ENV_IS_IN_EEPROM) += env_eeprom.o
COBJS-y += env_flash.o
COBJS-y += env_nand.o