]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MIPS: zboot: Avoid useless rebuilds
authorAlban Bedel <albeu@free.fr>
Thu, 10 Dec 2015 09:57:20 +0000 (10:57 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 03:05:03 +0000 (04:05 +0100)
commit25f66096ac0cbb8e757e6ce3f78665eedb946b17
treef53c4948a54b0f43b75233b4c5134ff0dc94d5b3
parenta7b43812ae5ec90afde8ed540b1a92405a54a519
MIPS: zboot: Avoid useless rebuilds

Add dummy.o to the targets list, and fill targets automatically from
$(vmlinuzobjs) to avoid having to maintain two lists.

When building with XZ compression copy ashldi3.c to the build
directory to use a different object file for the kernel and zboot.
Without this the same object file need to be build with different
flags which cause a rebuild at every run.

Signed-off-by: Alban Bedel <albeu@free.fr>
Cc: linux-mips@linux-mips.org
Cc: Alex Smith <alex.smith@imgtec.com>
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11810/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/compressed/Makefile