summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Hombourger <Cedric_Hombourger@mentor.com>2019-06-13 10:52:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-10 09:53:48 +0200
commit870de149950551a3f9735f359b6440e69ab7ccf9 (patch)
tree66591982cbaefc8f6bdefaef6f1f96bf38d2c02f
parent8957895b35de0f0eb278bebcd5297187f10ce009 (diff)
downloadlinux-stable-870de149950551a3f9735f359b6440e69ab7ccf9.tar.gz
linux-stable-870de149950551a3f9735f359b6440e69ab7ccf9.tar.bz2
linux-stable-870de149950551a3f9735f359b6440e69ab7ccf9.zip
MIPS: have "plain" make calls build dtbs for selected platforms
commit 637dfa0fad6d91a9a709dc70549a6d20fa77f615 upstream. scripts/package/builddeb calls "make dtbs_install" after executing a plain make (i.e. no build targets specified). It will fail if dtbs were not built beforehand. Match the arm64 architecture where DTBs get built by the "all" target. Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com> [paul.burton@mips.com: s/builddep/builddeb] Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: stable@vger.kernel.org # v4.1+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/mips/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index d74b3742fa5d..ad0a92f95af1 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -16,6 +16,7 @@ archscripts: scripts_basic
$(Q)$(MAKE) $(build)=arch/mips/boot/tools relocs
KBUILD_DEFCONFIG := 32r2el_defconfig
+KBUILD_DTBS := dtbs
#
# Select the object file format to substitute into the linker script.
@@ -385,7 +386,7 @@ quiet_cmd_64 = OBJCOPY $@
vmlinux.64: vmlinux
$(call cmd,64)
-all: $(all-y)
+all: $(all-y) $(KBUILD_DTBS)
# boot
$(boot-y): $(vmlinux-32) FORCE