summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
commit2556ef78113b5f089dfcac5da90bf31dd568397b (patch)
tree1408dfcadfd046449060c058631c3938c7843284 /common/Makefile
parent0b5099a8419bf9c828df5e3e2c6878dc300d98e3 (diff)
downloadu-boot-imx-2556ef78113b5f089dfcac5da90bf31dd568397b.zip
u-boot-imx-2556ef78113b5f089dfcac5da90bf31dd568397b.tar.gz
u-boot-imx-2556ef78113b5f089dfcac5da90bf31dd568397b.tar.bz2
env_sf: 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 a9d66ae..e171ae0 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -56,7 +56,7 @@ COBJS-y += 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
-COBJS-y += env_sf.o
+COBJS-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o
COBJS-y += env_nowhere.o
# command