]> xenbits.xensource.com Git - xen.git/commitdiff
tools/libfsimage: include Rules.mk first
authorOlaf Hering <olaf@aepfle.de>
Wed, 14 Mar 2012 16:53:56 +0000 (17:53 +0100)
committerOlaf Hering <olaf@aepfle.de>
Wed, 14 Mar 2012 16:53:56 +0000 (17:53 +0100)
Move the inclusion of Rules.mk up so that things like CFLAGS get initialized
properly. Currently only zfs appends CFLAGS. If CFLAGS get reset by Rules.mk
the private settings are lost and compilation of zfs support fails.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libfsimage/ext2fs-lib/Makefile
tools/libfsimage/ext2fs/Makefile
tools/libfsimage/fat/Makefile
tools/libfsimage/iso9660/Makefile
tools/libfsimage/reiserfs/Makefile
tools/libfsimage/ufs/Makefile
tools/libfsimage/xfs/Makefile
tools/libfsimage/zfs/Makefile

index 142207f63b07f78725f5f6c1a1b13f4a98ca0e85..957279db6abcad4e3f5fc93eb803e8cbca56277d 100644 (file)
@@ -1,4 +1,5 @@
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = ext2fs-lib.c
 
@@ -11,5 +12,3 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 8ff4c71a1c13fecc0ebb51bc7dba4ac360ceef90..714651eccd1a26e152a35f7e7b1a67ce190917e6 100644 (file)
@@ -1,4 +1,5 @@
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_ext2fs.c
 
@@ -9,5 +10,3 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 2911a0e0e7cfb13c4c3ea1d03d284e0ef2d33c32..950181b4035ee9f3b1de67b5abd2a2f2f9dcb06b 100644 (file)
@@ -1,4 +1,5 @@
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_fat.c
 
@@ -9,5 +10,3 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 4096cafa0c1db76653c5ab284a6785355c9183c3..c07183ba3e9ff750311004f7276d0e751353df1d 100644 (file)
@@ -1,4 +1,5 @@
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_iso9660.c
 
@@ -11,5 +12,3 @@ all: fs-all
 install: fs-install
 
 fsys_iso9660.c: iso9660.h
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 57f286b25655340b31b9961647a252c319f19c3b..6f01e06a281bf4e748ee451864518c0d55f141c9 100644 (file)
@@ -1,4 +1,5 @@
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_reiserfs.c
 
@@ -9,5 +10,3 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index c1371080f5283e95d040d8c68138b1a17712f45d..116edd6b16a93e15d8341c4bb44e603e4fc84839 100644 (file)
@@ -1,4 +1,5 @@
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_ufs.c
 
@@ -9,5 +10,3 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 65800074044962ff06e658bc8608a2a3bd9b3089..ce39ce5b241cf77adadc621b4a08dcd9a58cc4fe 100644 (file)
@@ -1,4 +1,5 @@
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_xfs.c
 
@@ -9,5 +10,3 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 9fb0aabe78bd5cf293d32c69b779e1d9d50fc563..89a5e6e0248f50126afbdc18c1f8c5e38101a20e 100644 (file)
@@ -23,6 +23,7 @@
 #
 
 XEN_ROOT = $(CURDIR)/../../..
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 CFLAGS += -DFSYS_ZFS -DFSIMAGE -I$(XEN_ROOT)/tools/libfsimage/zfs
 LIB_SRCS-y = zfs_lzjb.c zfs_sha256.c zfs_fletcher.c fsi_zfs.c fsys_zfs.c
@@ -34,5 +35,3 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
-
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk