]> 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>
Wed, 31 Jul 2013 16:16:47 +0000 (18:16 +0200)
commit533855f4ce53b09a69ae7d6705ec4d1bab706d1d
tree1f43273495f74860e5eaeca0c57d665aef3daafe
parent0f9d869b7fd2fed8fe440aa8133d2b5d2c8333a2
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