]> Pileus Git - ~andy/linux/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, 26 Aug 2013 13:31:54 +0000 (15:31 +0200)
commit7848ea79025d07a5b35bfebb700f11999e5be69e
treeb2616d8feb04b23d97e42686558a728310894115
parentd8b74276f5488d64ebb28d77631b536f1c5de6d2
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