]> git.baikalelectronics.ru Git - 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)
commitc6b3ef622f92e60d2ade287999a6dbdfc2641a09
treef53c4948a54b0f43b75233b4c5134ff0dc94d5b3
parentd2722cb334d11b0aff75f7c6e41be28390774c2e
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