• Alban Bedel's avatar
    MIPS: zboot: Avoid useless rebuilds · 25f66096
    Alban Bedel authored
    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: default avatarAlban 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: default avatarRalf Baechle <ralf@linux-mips.org>
    25f66096
Makefile 3.58 KB