kbuild: Correct missing architecture-specific hyphens

These should add a hyphen to indicate that it makes a adjective. Fix
them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
Simon Glass 2023-10-26 20:26:23 +13:00 committed by Masahiro Yamada
parent 34fcf231dc
commit 766b7007a1

View File

@ -672,7 +672,7 @@ ifdef config-build
# *config targets only - make sure prerequisites are updated, and descend # *config targets only - make sure prerequisites are updated, and descend
# in scripts/kconfig to make the *config target # in scripts/kconfig to make the *config target
# Read arch specific Makefile to set KBUILD_DEFCONFIG as needed. # Read arch-specific Makefile to set KBUILD_DEFCONFIG as needed.
# KBUILD_DEFCONFIG may point out an alternative default configuration # KBUILD_DEFCONFIG may point out an alternative default configuration
# used for 'make defconfig' # used for 'make defconfig'
include $(srctree)/arch/$(SRCARCH)/Makefile include $(srctree)/arch/$(SRCARCH)/Makefile
@ -686,7 +686,7 @@ config: outputmakefile scripts_basic FORCE
else #!config-build else #!config-build
# =========================================================================== # ===========================================================================
# Build targets only - this includes vmlinux, arch specific targets, clean # Build targets only - this includes vmlinux, arch-specific targets, clean
# targets and others. In general all targets except *config targets. # targets and others. In general all targets except *config targets.
# If building an external module we do not care about the all: rule # If building an external module we do not care about the all: rule
@ -1635,9 +1635,9 @@ help:
@echo 'Documentation targets:' @echo 'Documentation targets:'
@$(MAKE) -f $(srctree)/Documentation/Makefile dochelp @$(MAKE) -f $(srctree)/Documentation/Makefile dochelp
@echo '' @echo ''
@echo 'Architecture specific targets ($(SRCARCH)):' @echo 'Architecture-specific targets ($(SRCARCH)):'
@$(or $(archhelp),\ @$(or $(archhelp),\
echo ' No architecture specific help defined for $(SRCARCH)') echo ' No architecture-specific help defined for $(SRCARCH)')
@echo '' @echo ''
@$(if $(boards), \ @$(if $(boards), \
$(foreach b, $(boards), \ $(foreach b, $(boards), \
@ -1679,7 +1679,7 @@ help-boards: $(help-board-dirs)
boards-per-dir = $(sort $(notdir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/$*/*_defconfig))) boards-per-dir = $(sort $(notdir $(wildcard $(srctree)/arch/$(SRCARCH)/configs/$*/*_defconfig)))
$(help-board-dirs): help-%: $(help-board-dirs): help-%:
@echo 'Architecture specific targets ($(SRCARCH) $*):' @echo 'Architecture-specific targets ($(SRCARCH) $*):'
@$(if $(boards-per-dir), \ @$(if $(boards-per-dir), \
$(foreach b, $(boards-per-dir), \ $(foreach b, $(boards-per-dir), \
printf " %-24s - Build for %s\\n" $*/$(b) $(subst _defconfig,,$(b));) \ printf " %-24s - Build for %s\\n" $*/$(b) $(subst _defconfig,,$(b));) \