[Balloon-svn] r1857 - in balloon/branches/menuconfig2: . pac…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: subversion@balloonboard.org
Date:  
To: balloon-svn
Subject: [Balloon-svn] r1857 - in balloon/branches/menuconfig2: . package/kernel
Author: codehelp
Date: 2012-04-17 10:06:22 +0100 (Tue, 17 Apr 2012)
New Revision: 1857

Modified:
balloon/branches/menuconfig2/README
balloon/branches/menuconfig2/package/kernel/kernel.mk
Log:
Extend and document the make zImageBoot-clean option to reapply kernel patches.

Modified: balloon/branches/menuconfig2/README
===================================================================
--- balloon/branches/menuconfig2/README    2012-03-27 16:58:03 UTC (rev 1856)
+++ balloon/branches/menuconfig2/README    2012-04-17 09:06:22 UTC (rev 1857)
@@ -13,7 +13,17 @@
   $ make kernel-menuconfig
   $ make 


+ * Rebuilding / cleaning *

+Rather than removing the entire build tree with a 'make clean', rebuilding
+can be done with or without re-applying the patches to the kernel tree.
+
+Select "Rebuild kernel" in the menuconfig to rebuild without re-applying
+patches (e.g. for a configuration change in the kernel).
+
+Run 'make zImageBoot-clean' to remove the unpacked kernel and unpacked
+stamps so that the next build unpacks and re-applies all patches.
+
* Booting *

Nick Bane has implemented kexec in buildroot (that works) so chain kernel

Modified: balloon/branches/menuconfig2/package/kernel/kernel.mk
===================================================================
--- balloon/branches/menuconfig2/package/kernel/kernel.mk    2012-03-27 16:58:03 UTC (rev 1856)
+++ balloon/branches/menuconfig2/package/kernel/kernel.mk    2012-04-17 09:06:22 UTC (rev 1857)
@@ -190,6 +190,7 @@


 zImageBoot-clean:
     ($(KERNOPTS) $(MAKE) $(MAKEOPTS) -C $(PACKAGEDIR)/kernel clean)
+    $(RM) $(BUILDDIR)/kernel/current.stamp


 zImageBoot-dist: zImageBoot
     install -D $(BUILDDIR)/kernel/zImageBoot $(DISTRODIR)/binaries/kernel/zImage