Makefile: move target-{finalize,purgelocales} after bootloader/linux step
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 7 Nov 2010 18:33:11 +0000 (19:33 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 7 Nov 2010 18:33:11 +0000 (19:33 +0100)
Closes #2731

Bootloader and Linux kernel steps can add content to the rootfs, so ensure
the cleanup / postprocess steps are moved after those.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
Makefile

diff --git a/CHANGES b/CHANGES
index 1be748b6afb5496e32adb12f3218658b3625dd67..88e061c89101d503cb862924b1cb767e858dec9a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -77,6 +77,7 @@
        #2563: [PATCH] cairo: Expose the configure option to disable some...
        #2581: libmms: Update to 0.6, and patch to work on architectures...
        #2707: Can't compile linux kernel using buildroot + crosstool-ng
+       #2731: Build order
        #2767: Build for lsof broken in buildroot-2010.08
 
 2010.08: Released August 31th, 2010:
index 18ca8b33d404d84f6622956b75723249f83cdd8b..1469e7b1f2393c8d99d06db353339968eb047e43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -305,15 +305,16 @@ endif
 
 include package/*/*.mk
 
+include boot/common.mk
+include target/Makefile.in
+include linux/linux.mk
+
 TARGETS+=target-finalize
 
 ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
 TARGETS+=target-purgelocales
 endif
 
-include boot/common.mk
-include target/Makefile.in
-include linux/linux.mk
 include fs/common.mk
 
 TARGETS+=erase-fakeroots