summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:04 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:04 +0200
commit507641d2491980531932b9f25dab37fe5e6c3a1a (patch)
treeb6f120b6dfc0b90db4d554393a51d6f69e9418cf /common/Makefile
parent5a1aceb0689e2f731491838970884a673ef7e7d3 (diff)
downloadu-boot-imx-507641d2491980531932b9f25dab37fe5e6c3a1a.zip
u-boot-imx-507641d2491980531932b9f25dab37fe5e6c3a1a.tar.gz
u-boot-imx-507641d2491980531932b9f25dab37fe5e6c3a1a.tar.bz2
env_flash: 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 fad9bc1..a6fd97e 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -52,7 +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-y += env_embedded.o
-COBJS-y += env_flash.o
+COBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
COBJS-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o
COBJS-$(CONFIG_ENV_IS_IN_NVRAM) += env_nvram.o
COBJS-$(CONFIG_ENV_IS_IN_ONENAND) += env_onenand.o