]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
libfdt: add to build
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 13 Feb 2012 13:34:47 +0000 (13:34 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 13 Feb 2012 13:34:47 +0000 (13:34 +0000)
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/arm/Rules.mk
xen/common/Makefile
xen/common/libfdt/Makefile [new file with mode: 0644]

index 336e209081af7a6447a4e4d28c891c4167359a11..14082dd0a786cae3fbbfaab07ab2246a6b839dd0 100644 (file)
@@ -6,6 +6,8 @@
 # 'make clean' before rebuilding.
 #
 
+HAS_DEVICE_TREE := y
+
 CFLAGS += -fno-builtin -fno-common -Wredundant-decls
 CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe
 CFLAGS += -I$(BASEDIR)/include
index 9249845832361da62caffebc4de2d8efad1d7ce8..4b1e6f220c7aec321c3b65d8eaa868e043812fca 100644 (file)
@@ -59,3 +59,4 @@ subdir-$(x86_64) += hvm
 subdir-$(ia64) += hvm
 
 subdir-y += libelf
+subdir-$(HAS_DEVICE_TREE) += libfdt
diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile
new file mode 100644 (file)
index 0000000..0e65bc0
--- /dev/null
@@ -0,0 +1,5 @@
+include Makefile.libfdt
+
+obj-y += $(LIBFDT_OBJS)
+
+CFLAGS += -I.