diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-25 14:03:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-25 14:03:15 +0000 |
commit | 2d06588160635263c90e415738081ad0925d6b4d (patch) | |
tree | 8b852d5e0d9ecab495c9711a99ab4b24940ed1a7 | |
parent | c45080669aef40371d8ef97e9107e8b8095ac624 (diff) |
Minor patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to
more explicitly deal with object format conversion.
-rw-r--r-- | http/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/http/Makefile b/http/Makefile index 26224d4..54e3f6e 100644 --- a/http/Makefile +++ b/http/Makefile @@ -56,7 +56,9 @@ all: ${ARCH} $(SRCS) $(PGM) ${PGM}: $(OBJS) $(LINK_FILES) tar cf $(ARCH)/tarfile index.html - $(LD) -r -o $(ARCH)/temp.o $(ARCH)/init.o -b binary $(ARCH)/tarfile + cp $(ARCH)/tarfile . + $(OBJCOPY) -I binary -O elf32-powerpc tarfile $(ARCH)/tarfile.o + $(LD) -r -o $(ARCH)/temp.o $(ARCH)/init.o $(ARCH)/tarfile.o $(MV) $(ARCH)/temp.o $(ARCH)/init.o $(RM) $(ARCH)/temp.o $(make-exe) |