]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/libfdt/Makefile
Merge branch 'tx28-bugfix' into karo-devel
[karo-tx-uboot.git] / lib / libfdt / Makefile
index 07373df99ae4a35d31a9e0a8e8510780c96c2f84..934d6142c3e9115bb5963d3c04e46563c8b72c3b 100644 (file)
@@ -5,30 +5,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)libfdt.o
-
-SOBJS  =
-
-COBJS-libfdt += fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o fdt_empty_tree.o
-
-COBJS-$(CONFIG_OF_LIBFDT) += $(COBJS-libfdt)
-COBJS-$(CONFIG_FIT) += $(COBJS-libfdt)
-
-
-COBJS  := $(sort $(COBJS-y))
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
-
-$(LIB):        $(obj).depend $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+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 fdt_region.o