Changeset 3596


Ignore:
Timestamp:
Mar 7, 2013, 9:42:59 AM (21 months ago)
Author:
rsmith
Message:

arm/Linux/Makefile fixup for arm-elf-gcc 3.4.3

  • Remove use of -mlittle-endian as it made gcc error.
  • Use different rules for building the two different versions of inflate.o / xinflate.o - one to use in the wrapper, the other for standalone use in OFW images. Fixes the "ld: error in inflate.o(.eh_frame); no .eh_frame_hdr table will be created" message.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/Linux/Makefile

    r2182 r3596  
    33BP=../../.. 
    44 
    5 CFLAGS = -O -DARM -mlittle-endian 
     5CFLAGS = -O -DARM 
     6# -mlittle-endian 
    67 
    78WRTAIL = forth/wrapper 
     
    1415OBJS = wrapper.o logger.o ${ZIPOBJS} 
    1516 
    16 all: forth inflate.bin 
     17all: forth ../build/inflate.bin 
    1718 
    1819# Use forth when you just need to run Forth but don't care what 
     
    3132        ${CC} ${CFLAGS} ${LFLAGS} -static -o $@  ${OBJS} 
    3233 
    33 inflate.lo: ${ZIPDIR}/inflate.c 
     34xinflate.lo: ${ZIPDIR}/inflate.c 
    3435        ${CC} -c ${CFLAGS} -O $< -o $@ 
    3536 
    36 inflate.o: inflate.lo 
     37xinflate.o: xinflate.lo 
    3738        ${LD} -T inflate.ld $< -o $@ 
    3839 
    39 ../build/inflate.bin: inflate.o 
     40../build/inflate.bin: xinflate.o 
    4041        objcopy -O binary $< $@ 
    4142 
Note: See TracChangeset for help on using the changeset viewer.