Commit dbb5f7c3 authored by Randy Dunlap's avatar Randy Dunlap Committed by Masahiro Yamada

sparc: unify sparc32/sparc64 archhelp

Currently, entering
$ make ARCH=sparc32 help
prints the archhelp text for sparc64.
["sparc32" is documented (Documentation/kbuild/kbuild.rst)
to be a recognized alias for 32-bit sparc.]

Instead of handling ARCH=sparc or ARCH=sparc32 or ARCH=sparc64,
just unify all SPARC archhelp text in one place.

Fixes: 5e538790 ("sparc,sparc64: unify Makefile")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Suggested-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent c90b3bbf
...@@ -83,18 +83,11 @@ vdso_install: ...@@ -83,18 +83,11 @@ vdso_install:
KBUILD_IMAGE := $(boot)/zImage KBUILD_IMAGE := $(boot)/zImage
# Don't use tabs in echo arguments. # Don't use tabs in echo arguments.
ifeq ($(ARCH),sparc)
define archhelp define archhelp
echo '* image - kernel image ($(boot)/image)' echo '* vmlinux - standard SPARC kernel'
echo '* zImage - stripped kernel image ($(boot)/zImage)' echo ' image - kernel image ($(boot)/image)'
echo '* zImage - stripped/compressed kernel image ($(boot)/zImage)'
echo ' uImage - U-Boot SPARC32 Image (only for LEON)' echo ' uImage - U-Boot SPARC32 Image (only for LEON)'
echo ' vmlinux.aout - a.out kernel for SPARC64'
echo ' tftpboot.img - image prepared for tftp' echo ' tftpboot.img - image prepared for tftp'
endef endef
else
define archhelp
echo '* vmlinux - standard sparc64 kernel'
echo '* zImage - stripped and compressed sparc64 kernel ($(boot)/zImage)'
echo ' vmlinux.aout - a.out kernel for sparc64'
echo ' tftpboot.img - image prepared for tftp'
endef
endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment