I suspect this may be causing problems building arm binaries on mips
and mipsel hosts.
Signed-off-by: Keith Packard <keithp@keithp.com>
#CC=$(bindir)/arm-none-eabi-gcc
CC=/usr/bin/arm-none-eabi-gcc
+AR=/usr/bin/arm-none-eabi-ar
# This is where you chose which platform to compile for (see 'make links' / './platform')
PLATFORM := altos
$(PDCLIB): $(BUILD) $(OBJFILES)
@echo " AR $@"
- @ar rc $@ $(OBJFILES)
+ @$(AR) rc $@ $(OBJFILES)
@echo
install-$(CPU): install-$(CPU)-lib install-hdr