summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:52 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:52 +0200
commitd1034bc8db60fa6bd419328baf6a75cb0645cee8 (patch)
tree3d11680ab90a0b7df9def1069aa4b9b5773778d3 /common/Makefile
parentbf5a7710ec70e90e98f451b4ba0eb65f9ffc34eb (diff)
downloadu-boot-imx-d1034bc8db60fa6bd419328baf6a75cb0645cee8.zip
u-boot-imx-d1034bc8db60fa6bd419328baf6a75cb0645cee8.tar.gz
u-boot-imx-d1034bc8db60fa6bd419328baf6a75cb0645cee8.tar.bz2
cmd_eeprom: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index 9001237..fea0caf 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -80,7 +80,8 @@ endif
COBJS-$(CONFIG_CMD_DISPLAY) += cmd_display.o
COBJS-$(CONFIG_CMD_DOC) += cmd_doc.o
COBJS-$(CONFIG_CMD_DTT) += cmd_dtt.o
-COBJS-y += cmd_eeprom.o
+COBJS-$(CONFIG_ENV_IS_IN_EEPROM) += cmd_eeprom.o
+COBJS-$(CONFIG_CMD_EEPROM) += cmd_eeprom.o
COBJS-$(CONFIG_CMD_ELF) += cmd_elf.o
COBJS-$(CONFIG_CMD_EXT2) += cmd_ext2.o
COBJS-$(CONFIG_CMD_FAT) += cmd_fat.o