]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kbuild: Add MIPS specific files to generated package.
authorStuart Longland <redhatter@gentoo.org>
Fri, 8 Oct 2010 01:45:37 +0000 (11:45 +1000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Aug 2013 11:35:47 +0000 (13:35 +0200)
commit0f85cf33fd37ce8d3591b971dd3c5d9555594ae5
tree806a8d83dbf019bf02ba9ab828e6eeb2586c0499
parent21696b1816562ceb4e2f0eb6e427bbc7565d076b
kbuild: Add MIPS specific files to generated package.

A lot of 64-bit systems supported by Linux/MIPS have boot firmware or
bootloaders that only understand 32-bit ELF files, and as such, the vmlinux.32
target exists to support these systems.  Therefore, it'd be nice if the tar-pkg
target recognised this, and included the right version when packaging up a
binary of the kernel.

This updates buildtar to support MIPS targets.  MIPS may use 'vmlinux'
or 'vmlinux.32' depending on the target system.  This uses 'vmlinux.32'
in preference to 'vmlinux' where present (although I should check which
is newer), including either file as /boot/vmlinux-${version}.

Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1673/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
scripts/package/buildtar