]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
libfdt: move CONFIG_OF_LIBFDT and CONFIG_FIT to lib/Makefile
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 28 Nov 2014 02:13:28 +0000 (11:13 +0900)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:47 +0000 (09:35 -0500)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
lib/Makefile
lib/libfdt/Makefile

index e8635efd67aaabb0da8c007400ac67b9adbcd9e6..3ceb69752c68a82ed7bde23909dfceabaeae4fe2 100644 (file)
@@ -13,7 +13,8 @@ obj-$(CONFIG_LZO) += lzo/
 obj-$(CONFIG_ZLIB) += zlib/
 obj-$(CONFIG_BZIP2) += bzip2/
 obj-$(CONFIG_TIZEN) += tizen/
-obj-y += libfdt/
+obj-$(CONFIG_OF_LIBFDT) += libfdt/
+obj-$(CONFIG_FIT) += libfdt/
 
 obj-$(CONFIG_AES) += aes.o
 obj-$(CONFIG_USB_TTY) += circbuf.o
index 6fe79e0b06e9c422b6bfcfffd8fdd968872960dc..2f5413f90d6797122875dfc9d8c547dee5162406 100644 (file)
@@ -5,8 +5,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-COBJS-libfdt += fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o \
+obj-y += fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o \
        fdt_empty_tree.o fdt_addresses.o
-
-obj-$(CONFIG_OF_LIBFDT) += $(COBJS-libfdt)
-obj-$(CONFIG_FIT) += $(COBJS-libfdt)