summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-11-26 11:19:12 -0600
committerGerald Van Baren <vanbaren@cideas.com>2007-12-07 20:51:25 -0500
commit9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157 (patch)
tree95720c3ef7ba646c64204957bc9edd5899f27b5e /common/Makefile
parentd88e7ba0980773479e1a64badb293116071b7ef0 (diff)
downloadu-boot-imx-9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157.zip
u-boot-imx-9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157.tar.gz
u-boot-imx-9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157.tar.bz2
Conditionally compile fdt_support.c
Modify common/Makefile to conditionally compile fdt_support.c based on CONFIG_OF_LIBFDT. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index ace8cc7..7be89a4 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -55,7 +55,7 @@ COBJS-$(CONFIG_CMD_ELF) += cmd_elf.o
COBJS-$(CONFIG_CMD_EXT2) += cmd_ext2.o
COBJS-$(CONFIG_CMD_FAT) += cmd_fat.o
COBJS-y += cmd_fdc.o
-COBJS-$(CONFIG_OF_LIBFDT) += cmd_fdt.o
+COBJS-$(CONFIG_OF_LIBFDT) += cmd_fdt.o fdt_support.o
COBJS-$(CONFIG_CMD_FDOS) += cmd_fdos.o
COBJS-$(CONFIG_CMD_FLASH) += cmd_flash.o
ifdef CONFIG_FPGA
@@ -105,7 +105,6 @@ COBJS-y += env_onenand.o
COBJS-y += env_nvram.o
COBJS-y += env_nowhere.o
COBJS-y += exports.o
-COBJS-y += fdt_support.o
COBJS-y += flash.o
COBJS-y += fpga.o
COBJS-y += ft_build.o