summaryrefslogtreecommitdiff
path: root/libfdt/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-11-21 08:49:50 -0600
committerKumar Gala <galak@kernel.crashing.org>2007-11-21 08:49:50 -0600
commited1353d74b9ce8a7fcd660570b848a184d614b5f (patch)
tree833d87a1235fd3323eb0bb563aaa82e863c7b9fa /libfdt/Makefile
parent4a43719a7738712811d822ca8125427b27a55cdc (diff)
downloadu-boot-imx-ed1353d74b9ce8a7fcd660570b848a184d614b5f.zip
u-boot-imx-ed1353d74b9ce8a7fcd660570b848a184d614b5f.tar.gz
u-boot-imx-ed1353d74b9ce8a7fcd660570b848a184d614b5f.tar.bz2
[BUILD] conditionally compile libfdt/*.c in libfdt/Makefile
Modify libfdt/Makefile to conditionally compile the *.c files based on the board config. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'libfdt/Makefile')
-rw-r--r--libfdt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdt/Makefile b/libfdt/Makefile
index 126fa2c..d166cce 100644
--- a/libfdt/Makefile
+++ b/libfdt/Makefile
@@ -27,7 +27,7 @@ LIB = $(obj)libfdt.a
SOBJS =
-COBJS-y += fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o
+COBJS-$(CONFIG_OF_LIBFDT) += fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o
COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)