linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: have "plain" make calls build dtbs for selected platforms
@ 2019-06-13  8:52 Cedric Hombourger
       [not found] ` <20190615221604.E6FB82183F@mail.kernel.org>
  2019-06-20 21:54 ` Paul Burton
  0 siblings, 2 replies; 7+ messages in thread
From: Cedric Hombourger @ 2019-06-13  8:52 UTC (permalink / raw)
  Cc: Cedric Hombourger, linux-mips, stable

scripts/package/builddep 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>
Cc: linux-mips@vger.kernel.org
Cc: stable@vger.kernel.org
---
 arch/mips/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 8f4486c4415b..eceff9b75b22 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -17,6 +17,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.
@@ -384,7 +385,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
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-20 21:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-13  8:52 [PATCH] MIPS: have "plain" make calls build dtbs for selected platforms Cedric Hombourger
     [not found] ` <20190615221604.E6FB82183F@mail.kernel.org>
2019-06-16  6:58   ` Hombourger, Cedric
2019-06-20  8:01     ` Hombourger, Cedric
2019-06-20 20:03       ` Paul Burton
2019-06-20 21:12         ` Hombourger, Cedric
2019-06-20 21:34           ` Paul Burton
2019-06-20 21:54 ` Paul Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).