mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: davem@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: [sparc] Default target
Date: Mon, 31 Mar 2003 16:06:33 -0500	[thread overview]
Message-ID: <20030331160633.B5930@devserv.devel.redhat.com> (raw)

Apparently, Sam changed his mind about the "makeboot", too.
In 2.5.66, only s390, sparc64, and ppc64 still have it.

diff -urN -X dontdiff linux-2.5.66/arch/sparc/boot/Makefile linux-2.5.66-sparc/arch/sparc/boot/Makefile
--- linux-2.5.66/arch/sparc/boot/Makefile	2003-03-24 14:01:25.000000000 -0800
+++ linux-2.5.66-sparc/arch/sparc/boot/Makefile	2003-03-29 23:23:30.000000000 -0800
@@ -32,7 +32,3 @@
 
 $(obj)/btfix.s: $(obj)/btfixupprep vmlinux FORCE
 	$(call if_changed,btfix)
-
-archhelp:
-	@echo '* image		- kernel image ($(obj)/image)'
-	@echo '  tftpboot.img	- image prepared for tftp'
diff -urN -X dontdiff linux-2.5.66/arch/sparc/Makefile linux-2.5.66-sparc/arch/sparc/Makefile
--- linux-2.5.66/arch/sparc/Makefile	2003-03-24 14:00:03.000000000 -0800
+++ linux-2.5.66-sparc/arch/sparc/Makefile	2003-03-29 23:23:31.000000000 -0800
@@ -54,13 +54,16 @@
 LIBS_Y		:= $(patsubst %/, %/lib.a, $(libs-y))
 export INIT_Y CORE_Y DRIVERS_Y NET_Y LIBS_Y HEAD_Y
 
-makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/$(ARCH)/boot $(1)
+# Default target
+all: image
+
+boot := arch/sparc/boot
 
 image tftpboot.img: vmlinux
-	$(call makeboot,arch/sparc/boot/$@)
+	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
 
 archclean:
-	$(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/$(ARCH)/boot
+	$(Q)$(MAKE) $(clean)=$(boot)
 
 prepare: include/asm-$(ARCH)/asm_offsets.h
 
@@ -72,3 +75,9 @@
 
 CLEAN_FILES +=	include/asm-$(ARCH)/asm_offsets.h	\
 		arch/$(ARCH)/kernel/asm-offsets.s
+
+# Don't use tabs in echo arguments.
+define archhelp
+  echo  '* image        - kernel image ($(boot)/image)'
+  echo  '  tftpboot.img - image prepared for tftp'
+endef

             reply	other threads:[~2003-03-31 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-31 21:06 Pete Zaitcev [this message]
2003-03-31 21:39 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030331160633.B5930@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®