diff options
author | Michal Marek <mmarek@suse.cz> | 2014-11-28 07:31:43 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-11-28 10:39:11 -0500 |
commit | fbae4d585e5a61792f16b6d5a6305d61df01b4a6 (patch) | |
tree | 95b1afd17d12c55276b39c936f5e9f9a7284ffd2 /Makefile | |
parent | 223c24a7dba9db1f5ec2ae501b7d342396e83a9a (diff) |
kbuild: Fix make help-<board series> on powerpc
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 <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -483,7 +483,7 @@ version_h := include/generated/uapi/linux/version.h | |||
483 | old_version_h := include/linux/version.h | 483 | old_version_h := include/linux/version.h |
484 | 484 | ||
485 | no-dot-config-targets := clean mrproper distclean \ | 485 | no-dot-config-targets := clean mrproper distclean \ |
486 | cscope gtags TAGS tags help %docs check% coccicheck \ | 486 | cscope gtags TAGS tags help% %docs check% coccicheck \ |
487 | $(version_h) headers_% archheaders archscripts \ | 487 | $(version_h) headers_% archheaders archscripts \ |
488 | kernelversion %src-pkg | 488 | kernelversion %src-pkg |
489 | 489 | ||
@@ -1325,7 +1325,7 @@ help-board-dirs := $(addprefix help-,$(board-dirs)) | |||
1325 | 1325 | ||
1326 | help-boards: $(help-board-dirs) | 1326 | help-boards: $(help-board-dirs) |
1327 | 1327 | ||
1328 | boards-per-dir = $(notdir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/$*/*_defconfig)) | 1328 | boards-per-dir = $(sort $(notdir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/$*/*_defconfig))) |
1329 | 1329 | ||
1330 | $(help-board-dirs): help-%: | 1330 | $(help-board-dirs): help-%: |
1331 | @echo 'Architecture specific targets ($(SRCARCH) $*):' | 1331 | @echo 'Architecture specific targets ($(SRCARCH) $*):' |