diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-04-13 23:38:57 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-04-26 15:10:39 +0300 |
commit | dbb5f7c3fae38de3e69d48b984e6f539993a02d3 (patch) | |
tree | 0a802b9e4a62367e36b1abf998fd4435a184ec91 /arch/sparc | |
parent | c90b3bbff2a097f4b6861c6d1aac18ed66f15261 (diff) | |
download | linux-dbb5f7c3fae38de3e69d48b984e6f539993a02d3.tar.xz |
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: 5e53879008b9 ("sparc,sparc64: unify Makefile")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index a4ea5b05f288..74be90529a18 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile @@ -83,18 +83,11 @@ vdso_install: KBUILD_IMAGE := $(boot)/zImage # Don't use tabs in echo arguments. -ifeq ($(ARCH),sparc) define archhelp - echo '* image - kernel image ($(boot)/image)' - echo '* zImage - stripped kernel image ($(boot)/zImage)' + echo '* vmlinux - standard SPARC kernel' + echo ' image - kernel image ($(boot)/image)' + echo '* zImage - stripped/compressed kernel image ($(boot)/zImage)' echo ' uImage - U-Boot SPARC32 Image (only for LEON)' + echo ' vmlinux.aout - a.out kernel for SPARC64' echo ' tftpboot.img - image prepared for tftp' 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 |