diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2003-03-25 10:52:55 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-03-25 10:52:55 -0800 |
| commit | 9facb9b819e5a7b031ed6892fed211fb88c18acc (patch) | |
| tree | 5b3c1cfda361e9e2188c88cc8dd19f4dd17a58da | |
| parent | 9c969c9f11a11aa66bfe7188a54be515fdc5f543 (diff) | |
[SPARC64]: Make boot targets get cleaned up properly.
| -rw-r--r-- | arch/sparc64/Makefile | 7 | ||||
| -rw-r--r-- | arch/sparc64/boot/Makefile | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/arch/sparc64/Makefile b/arch/sparc64/Makefile index 28c386013abb..7a365564c678 100644 --- a/arch/sparc64/Makefile +++ b/arch/sparc64/Makefile @@ -71,10 +71,13 @@ 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/$(ARCH)/boot $(1) +boot := arch/sparc64/boot image tftpboot.img vmlinux.aout: vmlinux - $(call makeboot,arch/sparc64/boot/$@) + $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ + +archclean: + $(Q)$(MAKE) $(clean)=$(boot) define archhelp echo '* vmlinux - Standard sparc64 kernel' diff --git a/arch/sparc64/boot/Makefile b/arch/sparc64/boot/Makefile index b081301d0d92..7109dffcb2a0 100644 --- a/arch/sparc64/boot/Makefile +++ b/arch/sparc64/boot/Makefile @@ -8,7 +8,7 @@ ROOT_IMG := /usr/src/root.img ELFTOAOUT := elftoaout host-progs := piggyback -targets := tftpboot.img vmlinux.aout +targets := image tftpboot.img vmlinux.aout quiet_cmd_elftoaout = ELT2AOUT $@ cmd_elftoaout = $(ELFTOAOUT) vmlinux -o $@ |
