common/Makefile: Conditionally compile env_embedded.o
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 13 Mar 2009 23:54:27 +0000 (18:54 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 3 Apr 2009 23:06:10 +0000 (01:06 +0200)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
common/Makefile

index 9a71302f996714d48b0e1a49fb4c84fb83f7a271..0a93462ea24e9daa6988a689f62c7cea80e5c4c4 100644 (file)
@@ -51,7 +51,7 @@ COBJS-y += cmd_nvedit.o
 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-$(CONFIG_ENV_IS_EMBEDDED) += env_embedded.o
 COBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
 COBJS-$(CONFIG_ENV_IS_IN_MG_DISK) += env_mgdisk.o
 COBJS-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o