From patchwork Tue Jul 13 03:22:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Wu X-Patchwork-Id: 58701 X-Patchwork-Delegate: tim.gardner@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 7A0D3B6F0C for ; Tue, 13 Jul 2010 13:24:04 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OYW6B-0002CS-VH; Tue, 13 Jul 2010 04:24:00 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OYW69-0002Ao-44 for kernel-team@lists.ubuntu.com; Tue, 13 Jul 2010 04:23:57 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OYW69-0003Xc-1a for ; Tue, 13 Jul 2010 04:23:57 +0100 Received: from [58.33.190.89] (helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OYW67-0006FD-Oe for kernel-team@lists.ubuntu.com; Tue, 13 Jul 2010 04:23:57 +0100 From: Bryan Wu To: kernel-team@lists.ubuntu.com Subject: [PATCH 3/3] UBUNTU: auto-generate uImage file Date: Tue, 13 Jul 2010 11:22:49 +0800 Message-Id: <1278991369-17962-4-git-send-email-bryan.wu@canonical.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1278991369-17962-1-git-send-email-bryan.wu@canonical.com> References: <1278991369-17962-1-git-send-email-bryan.wu@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From: Sebastien Jan Signed-off-by: Sebastien Jan --- debian.ti-omap4/control.stub.in | 2 +- debian/rules.d/2-binary-arch.mk | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/debian.ti-omap4/control.stub.in b/debian.ti-omap4/control.stub.in index 4762b55..9d5ba50 100644 --- a/debian.ti-omap4/control.stub.in +++ b/debian.ti-omap4/control.stub.in @@ -3,7 +3,7 @@ Section: devel Priority: optional Maintainer: Ubuntu Kernel Team Standards-Version: 3.6.1 -Build-Depends: debhelper (>= 3), cpio, module-init-tools, kernel-wedge (>= 2.24ubuntu1), rsync +Build-Depends: debhelper (>= 3), cpio, module-init-tools, kernel-wedge (>= 2.24ubuntu1), rsync, uboot-mkimage Build-Depends-Indep: xmlto, docbook-utils, gs, transfig, bzip2, sharutils Build-Conflicts: findutils (= 4.4.1-1ubuntu1) Vcs-Git: git://kernel.ubuntu.com/ubuntu/ubuntu-maverick.git diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 4f7b66d..bb4d49d 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -73,6 +73,12 @@ ifeq ($(no_dumpfile),) makedumpfile -g $(pkgdir)/boot/vmcoreinfo-$(abi_release)-$* \ -x $(builddir)/build-$*/vmlinux endif + # Generate uImage automatically out of the box + mkimage -A arm -O linux -T kernel -C none -a 0x80008000 \ + -e 0x80008000 -n "Ubuntu Kernel" \ + -d $(pkgdir)/boot/$(install_file)-$(abi_release)-$* \ + $(pkgdir)/boot/uImage-$(abi_release)-$* + $(build_cd) $(kmake) $(build_O) modules_install \ INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$(pkgdir)/ \