2009-09-08 Jie Zhang <jie.zhang@analog.com>

* bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use
        -mcpu=bf532-any for the default multilib.
This commit is contained in:
Jeff Johnston 2009-09-08 21:17:58 +00:00
parent 94f4a7b95d
commit 18384f4fdf
2 changed files with 5 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2009-09-08 Jie Zhang <jie.zhang@analog.com>
* bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use
-mcpu=bf532-any for the default multilib.
2009-07-28 DJ Delorie <dj@redhat.com>
* mep/gmap_default.ld: Add linkonce sections for .vtext.

View File

@ -99,18 +99,10 @@ ${SIM_BSP}: ${OBJS} ${SIM_OBJS}
crt0.o: crt0.S
basiccrt.o: basiccrt.S
ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
$(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -o $@ -c $<
else
$(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf532-any -o $@ -c $<
endif
basiccrts.o: basiccrt.S
ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
$(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -o $@ -c $<
else
$(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf532-any -o $@ -c $<
endif
basiccrt561.o: basiccrt.S
ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
@ -126,7 +118,6 @@ else
$(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-any -o $@ -c $<
endif
basiccrt561b.o: basiccrt.S
ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
$(CC) -D__ADSPBF561_COREB__ $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-none -o $@ -c $<