Skip to contentSkip to conversation

Add path to elf2ecoff

Patch-2.5 Jan-Benedict Glaw 2 participants 2 messages Mar 31, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

Hi!

This small patch is needed since pwd is _not_ the directory a Makefile resides in.

MfG, JBG

Index: arch/mips/boot/Makefile
===================================================================
RCS file: /home/ftp/pub/mirror/CVS/ftp.linux-mips.org/linux/arch/mips/boot/Makefile,v retrieving revision 1.22

mips/boot/Makefile +1 -1
diff -u -r1.22 Makefile
@@ -32,7 +32,7 @@
 		$< $@
 
 vmlinux.ecoff:	$(obj)/elf2ecoff vmlinux
-	./elf2ecoff vmlinux $(obj)/vmlinux.ecoff $(E2EFLAGS)
+	$(obj)/elf2ecoff vmlinux $(obj)/vmlinux.ecoff $(E2EFLAGS)
 
 $(obj)/elf2ecoff: $(obj)/elf2ecoff.c
 	$(HOSTCC) -o $@ $^
Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"jbglaw" == Jan-Benedict Glaw <[email protected]> writes:

jbglaw> Hi!
jbglaw> This small patch is needed since pwd is _not_ the directory a jbglaw> Makefile resides in.

jbglaw> MfG, JBG

jbglaw> Index: arch/mips/boot/Makefile
jbglaw> =================================================================== jbglaw> RCS file: /home/ftp/pub/mirror/CVS/ftp.linux-mips.org/linux/arch/mips/boot/Makefile,v jbglaw> retrieving revision 1.22
jbglaw> diff -u -r1.22 Makefile
jbglaw> --- arch/mips/boot/Makefile 9 Mar 2003 13:58:13 -0000 1.22
jbglaw> +++ arch/mips/boot/Makefile 31 Mar 2003 12:38:59 -0000
jbglaw> @@ -32,7 +32,7 @@
jbglaw> $< $@

jbglaw> vmlinux.ecoff: $(obj)/elf2ecoff vmlinux
jbglaw> - ./elf2ecoff vmlinux $(obj)/vmlinux.ecoff $(E2EFLAGS)
jbglaw> + $(obj)/elf2ecoff vmlinux $(obj)/vmlinux.ecoff $(E2EFLAGS)

jbglaw> $(obj)/elf2ecoff: $(obj)/elf2ecoff.c
jbglaw> $(HOSTCC) -o $@ $^

I agree, I had to add it also to get it to compile :p

Signature · 2 lines
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy