]> git.neil.brown.name Git - history.git/commitdiff
kbuild/sparc64: archhelp and $(build)
authorSam Ravnborg <sam@mars.ravnborg.org>
Mon, 30 Dec 2002 19:14:42 +0000 (13:14 -0600)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 30 Dec 2002 19:14:42 +0000 (13:14 -0600)
Moved archhelp to arch/sparc64/Makefile
introduced usage of $(build)
Removed superflous targets archclean and archmrproper

arch/sparc64/Makefile
arch/sparc64/boot/Makefile

index a0a4985e614beb7b6c2eaedc2832b9c545701c08..32ef5188df77d1a2af572d5e8c227199b5363807 100644 (file)
@@ -71,11 +71,11 @@ libs-y                              += arch/sparc64/prom/ arch/sparc64/lib/
 # FIXME: is drivers- right?
 drivers-$(CONFIG_OPROFILE)     += arch/sparc64/oprofile/
 
-makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/sparc64/boot $(1)
-
 tftpboot.img vmlinux.aout:
-       $(call makeboot,arch/sparc64/boot/$@)
-
-archmrproper:
-archclean:
+       $(Q)$(MAKE) $(build)=arch/sparc64/boot arch/sparc64/boot/$@
 
+define archhelp
+  echo  '* vmlinux       - Standard sparc64 kernel'
+  echo  '  vmlinux.aout  - a.out kernel for sparc64'
+  echo  '  tftpboot.img  - Image prepared for tftp'
+endef
index 6a4a74781edc66e39af49ca9a61e3a85b3307587..51dcc7d12ab0bfc6101460d9893dd2aed202b422 100644 (file)
@@ -24,7 +24,3 @@ $(obj)/vmlinux.aout: vmlinux FORCE
        $(call if_changed,elftoaout)
        @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'