]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - libfdt/Makefile
Merge commit '87ddedd'
[karo-tx-uboot.git] / libfdt / Makefile
index 126fa2c02f7a8f5b7d4df4479bf767f1eac47154..d166cce7968feb9ba45a01dd166176e4771fbb05 100644 (file)
@@ -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)