diff options
author | Paul Burton <paul.burton@mips.com> | 2019-05-28 17:21:26 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-05-29 12:05:23 -0700 |
commit | e4f2d1af7163becb181419af9dece9206001e0a6 (patch) | |
tree | 828ac29d0c3cbd23ef6459cbf369740577022936 /arch/mips/pistachio | |
parent | 31875a5432248e7b0fff2f4f4e8cd96e5d82ceb0 (diff) | |
download | linux-e4f2d1af7163becb181419af9dece9206001e0a6.tar.bz2 |
MIPS: pistachio: Build uImage.gz by default
The pistachio platform uses the U-Boot bootloader & generally boots a
kernel in the uImage format. As such it's useful to build one when
building the kernel, but to do so currently requires the user to
manually specify a uImage target on the make command line.
Make uImage.gz the pistachio platform's default build target, so that
the default is to build a kernel image that we can actually boot on a
board such as the MIPS Creator Ci40.
Marked for stable backport as far as v4.1 where pistachio support was
introduced. This is primarily useful for CI systems such as kernelci.org
which will benefit from us building a suitable image which can then be
booted as part of automated testing, extending our test coverage to the
affected stable branches.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
URL: https://groups.io/g/kernelci/message/388
Cc: stable@vger.kernel.org # v4.1+
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/pistachio')
-rw-r--r-- | arch/mips/pistachio/Platform | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/pistachio/Platform b/arch/mips/pistachio/Platform index d80cd612df1f..c3592b374ad2 100644 --- a/arch/mips/pistachio/Platform +++ b/arch/mips/pistachio/Platform @@ -6,3 +6,4 @@ cflags-$(CONFIG_MACH_PISTACHIO) += \ -I$(srctree)/arch/mips/include/asm/mach-pistachio load-$(CONFIG_MACH_PISTACHIO) += 0xffffffff80400000 zload-$(CONFIG_MACH_PISTACHIO) += 0xffffffff81000000 +all-$(CONFIG_MACH_PISTACHIO) := uImage.gz |