[Balloon-svn] r1206 - balloon/branches/menuconfig/kernel

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] r1206 - balloon/branches/menuconfig/kernel
Author: nick
Date: 2010-08-22 22:27:23 +0100 (Sun, 22 Aug 2010)
New Revision: 1206

Modified:
balloon/branches/menuconfig/kernel/Makefile
Log:
add uImage support for kernel

Modified: balloon/branches/menuconfig/kernel/Makefile
===================================================================
--- balloon/branches/menuconfig/kernel/Makefile    2010-08-22 21:25:46 UTC (rev 1205)
+++ balloon/branches/menuconfig/kernel/Makefile    2010-08-22 21:27:23 UTC (rev 1206)
@@ -17,7 +17,9 @@
 include ../Makefile.tools


kernel: $(RES)/zImageBoot
+ukernel: $(RES)/uImageBoot
installer: $(RES)/zImageInitrd
+uinstaller: $(RES)/uImageInitrd
modules: $(RES)/modules.tgz

 KERNSOURCES:=$(RES)/unpacked-$(KERNVER).stamp $(RES)/yaffs-source-$(YAFFSCHECKOUT).stamp $(RES)/quilt.stamp
@@ -42,6 +44,10 @@
     (cd $(BUILD) && $(CROSSOPTS) $(MAKE) $(MAKEOPTS) balloon3_defconfig)


 #normal boot version of kernel (no initrd)
+$(RES)/uImageBoot: $(RES)/zImageBoot
+    (cd $(BUILD) && $(CROSSOPTS) $(MAKE) $(MAKEOPTS) $(NOINITRAMFSOPTS)uImage)
+    cp $(BUILD)/arch/arm/boot/uImage $(RES)/uImageBoot
+
 $(RES)/zImageBoot: $(BUILD)/.config
     # make sure initrd is not present before building
     rm -f $(BUILD)/usr/initramfs_data.cpio.gz
@@ -51,6 +57,10 @@
     cp $(BUILD)/arch/arm/boot/zImage $(RES)/zImageBoot



+$(RES)/uImageInitrd: $(RES)/zImageInitrd
+    (cd $(BUILD) && $(CROSSOPTS) $(MAKE) $(MAKEOPTS) $(INITRAMFSOPTS) uImage)
+    cp $(BUILD)/arch/arm/boot/uImage $(RES)/uImageInitrd
+
 $(RES)/zImageInitrd:  $(RES)/zImageBoot $(RES)/modules.tgz $(BUILDINITRDDIR)/$(BUILDROOTIMAGEPATH)rootfs.arm.cpio
     rm -rf $(RES)/rootfs.arm.cpio;
 ifeq ($(INITRD_MODULES),y)