diff options
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | arch/i386/Makefile | 9 | ||||
| -rw-r--r-- | arch/i386/boot/Makefile | 8 |
3 files changed, 11 insertions, 9 deletions
@@ -810,7 +810,8 @@ help: @$(MAKE) --no-print-directory -f Documentation/DocBook/Makefile dochelp @echo '' @echo 'Architecture specific targets ($(ARCH)):' - @$(MAKE) --no-print-directory -f arch/$(ARCH)/boot/Makefile archhelp + @$(if $(archhelp),$(archhelp),\ + echo ' No architecture specific help defined for $(ARCH)') @echo '' @echo 'Execute "make" or "make all" to build all targets marked with [*] ' @echo 'For further info browse Documentation/kbuild/*' diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 706e02cd4b9e..7069983f76a6 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile @@ -109,3 +109,12 @@ install: vmlinux archclean: $(Q)$(MAKE) $(clean)=arch/i386/boot + +define archhelp + echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' + echo ' install - Install kernel using' + echo ' (your) ~/bin/installkernel or' + echo ' (distribution) /sbin/installkernel or' + echo ' install to $$(INSTALL_PATH) and run lilo' +endef + diff --git a/arch/i386/boot/Makefile b/arch/i386/boot/Makefile index bcb97140c50f..701136c7581c 100644 --- a/arch/i386/boot/Makefile +++ b/arch/i386/boot/Makefile @@ -74,11 +74,3 @@ zlilo: $(BOOTIMAGE) install: $(BOOTIMAGE) sh $(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)" - -archhelp: - @echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' - @echo ' install - Install kernel using' - @echo ' (your) ~/bin/installkernel or' - @echo ' (distribution) /sbin/installkernel or' - @echo ' install to $$(INSTALL_PATH) and run lilo' - |
