]> xenbits.xensource.com Git - xen.git/commitdiff
tools: Revert c/s 25150:b490ef93bad7 tools/libfsimage: include Rules.mk first
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Fri, 13 Apr 2012 16:13:01 +0000 (17:13 +0100)
committerGeorge Dunlap <george.dunlap@eu.citrix.com>
Fri, 13 Apr 2012 16:13:01 +0000 (17:13 +0100)
tools/libfsimage/Rules.mk relies on having certain variables set already; if
they're not set, the definitions dont' work right.  The result was a bunch
of empty files and pygrub failing with an uninformative error message.

It's likely that this didn't cause anyone problems becasue changing the
Makefiles didn't cause a re-build; building from a fresh repo results in
completely empty filesystem plugin binaries.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.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 957279db6abcad4e3f5fc93eb803e8cbca56277d..142207f63b07f78725f5f6c1a1b13f4a98ca0e85 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../../..
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = ext2fs-lib.c
 
@@ -12,3 +11,5 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 714651eccd1a26e152a35f7e7b1a67ce190917e6..8ff4c71a1c13fecc0ebb51bc7dba4ac360ceef90 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../../..
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_ext2fs.c
 
@@ -10,3 +9,5 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 950181b4035ee9f3b1de67b5abd2a2f2f9dcb06b..2911a0e0e7cfb13c4c3ea1d03d284e0ef2d33c32 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../../..
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_fat.c
 
@@ -10,3 +9,5 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index c07183ba3e9ff750311004f7276d0e751353df1d..4096cafa0c1db76653c5ab284a6785355c9183c3 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../../..
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_iso9660.c
 
@@ -12,3 +11,5 @@ all: fs-all
 install: fs-install
 
 fsys_iso9660.c: iso9660.h
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 6f01e06a281bf4e748ee451864518c0d55f141c9..57f286b25655340b31b9961647a252c319f19c3b 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../../..
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_reiserfs.c
 
@@ -10,3 +9,5 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 116edd6b16a93e15d8341c4bb44e603e4fc84839..c1371080f5283e95d040d8c68138b1a17712f45d 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../../..
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_ufs.c
 
@@ -10,3 +9,5 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index ce39ce5b241cf77adadc621b4a08dcd9a58cc4fe..65800074044962ff06e658bc8608a2a3bd9b3089 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../../..
-include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
 LIB_SRCS-y = fsys_xfs.c
 
@@ -10,3 +9,5 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk
index 89a5e6e0248f50126afbdc18c1f8c5e38101a20e..9fb0aabe78bd5cf293d32c69b779e1d9d50fc563 100644 (file)
@@ -23,7 +23,6 @@
 #
 
 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
@@ -35,3 +34,5 @@ all: fs-all
 
 .PHONY: install
 install: fs-install
+
+include $(XEN_ROOT)/tools/libfsimage/Rules.mk