Commit 95fa3d76 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Kai Germaschewski

kbuild/sparc64: archhelp and $(build)

Moved archhelp to arch/sparc64/Makefile
introduced usage of $(build)
Removed superflous targets archclean and archmrproper
parent a2374e4e
...@@ -71,11 +71,11 @@ libs-y += arch/sparc64/prom/ arch/sparc64/lib/ ...@@ -71,11 +71,11 @@ libs-y += arch/sparc64/prom/ arch/sparc64/lib/
# FIXME: is drivers- right? # FIXME: is drivers- right?
drivers-$(CONFIG_OPROFILE) += arch/sparc64/oprofile/ drivers-$(CONFIG_OPROFILE) += arch/sparc64/oprofile/
makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/sparc64/boot $(1)
tftpboot.img vmlinux.aout: tftpboot.img vmlinux.aout:
$(call makeboot,arch/sparc64/boot/$@) $(Q)$(MAKE) $(build)=arch/sparc64/boot arch/sparc64/boot/$@
archmrproper:
archclean:
define archhelp
echo '* vmlinux - Standard sparc64 kernel'
echo ' vmlinux.aout - a.out kernel for sparc64'
echo ' tftpboot.img - Image prepared for tftp'
endef
...@@ -24,7 +24,3 @@ $(obj)/vmlinux.aout: vmlinux FORCE ...@@ -24,7 +24,3 @@ $(obj)/vmlinux.aout: vmlinux FORCE
$(call if_changed,elftoaout) $(call if_changed,elftoaout)
@echo ' kernel: $@ is ready' @echo ' kernel: $@ is ready'
archhelp:
@echo '* vmlinux - Standard sparc64 kernel'
@echo ' vmlinux.aout - a.out kernel for sparc64'
@echo ' tftpboot.img - Image prepared for tftp'
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