diff options
author | Sebastien Jan <s-jan@ti.com> | 2010-07-06 16:18:01 +0200 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2010-07-16 19:04:50 +0200 |
commit | 1fbbd639fbef5161aeeb074d5cd6d7cff56fec5f (patch) | |
tree | bd6e23d506c51ceb92af99c48f1747a82d915c07 | |
parent | 9f371ae902818fd54a603eafb6ab84dff30123f4 (diff) |
UBUNTU: auto-generate uImage file
This commit will not be integrated into official Maverick tree.
The uImage generation is handled by different means in official
kernel.
Signed-off-by: Sebastien Jan <s-jan@ti.com>
-rw-r--r-- | debian.ti-omap4/control.stub.in | 2 | ||||
-rw-r--r-- | 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 4762b555f016..9d5ba507d8c2 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 <kernel-team@lists.ubuntu.com> 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 4f7b66de6c35..bb4d49d2ee48 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)/ \ |