summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:59 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:59 +0200
commit06f61354397911a4c121dfa51b6ccbf7e300d48b (patch)
tree9a4d829a3119f44fa00c253c0acbc33c7316fdd5 /common/Makefile
parent51bfee192099206a4397f15f3b93516e01f58ab0 (diff)
downloadu-boot-imx-06f61354397911a4c121dfa51b6ccbf7e300d48b.zip
u-boot-imx-06f61354397911a4c121dfa51b6ccbf7e300d48b.tar.gz
u-boot-imx-06f61354397911a4c121dfa51b6ccbf7e300d48b.tar.bz2
env_nand: 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 27f515b..2e0fa26 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -53,7 +53,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-y += env_flash.o
-COBJS-y += env_nand.o
+COBJS-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o
COBJS-y += env_nvram.o
COBJS-y += env_onenand.o
COBJS-y += env_sf.o