[PATCH] kbuild: Fix make help-<board series> on powerpc

Subsystems: kernel build + files below scripts/ (unless maintained elsewhere), the rest

STALE4343d

2 messages, 1 author, 2014-11-28 · open the first message on its own page

[PATCH] kbuild: Fix make help-<board series> on powerpc

From: Michal Marek <hidden>
Date: 2014-11-28 12:52:35

make ARCH=powerpc help-<board series> should not require a cofigured
source tree. Also, sort the boards in the output.

Signed-off-by: Michal Marek <redacted>
---
Sorry for the double post to the ppc mailing list. The first version got
rejected by the vger spam filter.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 88b7fa5..0cd4e14 100644
--- a/Makefile
+++ b/Makefile
@@ -482,7 +482,7 @@ asm-generic:
 version_h := include/generated/uapi/linux/version.h
 
 no-dot-config-targets := clean mrproper distclean \
-			 cscope gtags TAGS tags help %docs check% coccicheck \
+			 cscope gtags TAGS tags help% %docs check% coccicheck \
 			 $(version_h) headers_% archheaders archscripts \
 			 kernelversion %src-pkg
 
@@ -1323,7 +1323,7 @@ help-board-dirs := $(addprefix help-,$(board-dirs))
 
 help-boards: $(help-board-dirs)
 
-boards-per-dir = $(notdir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/$*/*_defconfig))
+boards-per-dir = $(sort $(notdir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/$*/*_defconfig)))
 
 $(help-board-dirs): help-%:
 	@echo  'Architecture specific targets ($(SRCARCH) $*):'
-- 
2.1.2

Re: [PATCH] kbuild: Fix make help-<board series> on powerpc

From: Michal Marek <hidden>
Date: 2014-11-28 15:40:29

On 2014-11-28 13:52, Michal Marek wrote:
make ARCH=powerpc help-<board series> should not require a cofigured
source tree. Also, sort the boards in the output.
I added this to kbuild.git#kbuild.

Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help