summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:27 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:06:10 +0200
commita706bfc7d0e2d1935c5670045288e6cd1ffdfabc (patch)
tree5bf80a712ce33ff0347c75d3cd388de3eae66614
parent2b48f7d5f62835f87278efb498397b6ae9e2d117 (diff)
downloadu-boot-imx-a706bfc7d0e2d1935c5670045288e6cd1ffdfabc.zip
u-boot-imx-a706bfc7d0e2d1935c5670045288e6cd1ffdfabc.tar.gz
u-boot-imx-a706bfc7d0e2d1935c5670045288e6cd1ffdfabc.tar.bz2
common/Makefile: Conditionally compile env_embedded.o
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
-rw-r--r--common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index 9a71302..0a93462 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -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