summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Jan <s-jan@ti.com>2010-07-06 16:18:01 +0200
committerSebastien Jan <s-jan@ti.com>2010-08-31 18:05:18 +0200
commit879018a92ea6a118fff5e2cceae9f79fe5edd76a (patch)
treebf8a19293a6598bf3e71f325d042937da3dda9b1
parent77b174b777667fa2721472f62920993f2560e91a (diff)
UBUNTU: SAUCE: auto-generate uImage file
Local change, not to be merged into Ubuntu tree. Signed-off-by: Sebastien Jan <s-jan@ti.com>
-rw-r--r--debian.ti-omap4/control.d/flavour-control.stub2
-rw-r--r--debian/rules.d/2-binary-arch.mk6
2 files changed, 7 insertions, 1 deletions
diff --git a/debian.ti-omap4/control.d/flavour-control.stub b/debian.ti-omap4/control.d/flavour-control.stub
index ccde915f5b79..6026a7633fb9 100644
--- a/debian.ti-omap4/control.d/flavour-control.stub
+++ b/debian.ti-omap4/control.d/flavour-control.stub
@@ -27,7 +27,7 @@ Section: admin
Priority: optional
Pre-Depends: dpkg (>= 1.10.24)
Provides: linux-image, linux-image-2.6, fuse-module, =PROVIDES=
-Depends: ${misc:Depends}, ${shlibs:Depends}, initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0), module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda
+Depends: ${misc:Depends}, ${shlibs:Depends}, initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0), module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda, uboot-mkimage
Conflicts: hotplug (<< 0.0.20040105-1)
Recommends: BOOTLOADER
Suggests: fdutils, SRCPKGNAME-doc-PKGVER | SRCPKGNAME-source-PKGVER, SRCPKGNAME-tools
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index b149e2ec743d..f3865048d2d6 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)/ \