Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Michael Pruznick <michael_pruznick@mvista.com>
To: linux-mips@linux-mips.org
Subject: PATCH:2.6:makefile/vmlinux.srec
Date: Wed, 06 Aug 2003 16:50:18 -0600	[thread overview]
Message-ID: <3F31862A.F2162035@mvista.com> (raw)

Jun Sun wrote:
> the make srec patch looks good to me.  I will take care of it.
> Also, please post patches for both branches whenever possible.

Here is the 2.6 version of the 2.4 srec build patch:

cvs diff -uN arch/mips/Makefile arch/mips/boot/Makefile
Index: arch/mips/Makefile
===================================================================
RCS file: /home/cvs/linux/arch/mips/Makefile,v
retrieving revision 1.131
diff -u -r1.131 Makefile
--- arch/mips/Makefile  30 Jul 2003 12:32:17 -0000      1.131
+++ arch/mips/Makefile  4 Aug 2003 23:59:12 -0000
@@ -531,6 +531,9 @@
 vmlinux.ecoff vmlinux.rm200: vmlinux
        +@$(call makeboot,$@)
 
+vmlinux.srec: vmlinux
+       +@$(call makeboot,$@)
+
 CLEAN_FILES += vmlinux.ecoff \
               vmlinux.rm200.tmp \
               vmlinux.rm200
Index: arch/mips/boot/Makefile
===================================================================
RCS file: /home/cvs/linux/arch/mips/boot/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- arch/mips/boot/Makefile     9 Mar 2003 13:58:13 -0000       1.22
+++ arch/mips/boot/Makefile     4 Aug 2003 23:59:12 -0000
@@ -22,7 +22,7 @@
 drop-sections  = .reginfo .mdebug .comment .note
 strip-flags    = $(addprefix --remove-section=,$(drop-sections))
 
-all: vmlinux.ecoff addinitrd
+all: vmlinux.ecoff vmlinux.srec addinitrd
 
 vmlinux.rm200: vmlinux
        $(OBJCOPY) \
@@ -37,6 +37,9 @@
 $(obj)/elf2ecoff: $(obj)/elf2ecoff.c
        $(HOSTCC) -o $@ $^
 
+vmlinux.srec:  vmlinux
+       $(OBJCOPY) -S -O srec $(strip-flags) vmlinux $(obj)/vmlinux.srec
+
 $(obj)/addinitrd: $(obj)/addinitrd.c
        $(HOSTCC) -o $@ $^
 
@@ -47,5 +50,6 @@
               elf2ecoff \
               vmlinux.ecoff \
               vmlinux.rm200 \
+              vmlinux.srec \
               zImage.tmp \
               zImage

                 reply	other threads:[~2003-08-06 22:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3F31862A.F2162035@mvista.com \
    --to=michael_pruznick@mvista.com \
    --cc=linux-mips@linux-mips.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