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

* bfin/Makefile.in (basiccrt.o, basiccrts.o): Use
        -mcpu=bf532-any for the default multilib.
This commit is contained in:
Jeff Johnston 2009-10-08 16:35:34 +00:00
parent 85191fc5aa
commit b1da4d8277
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-10-08 Jie Zhang <jie.zhang@analog.com>
* bfin/Makefile.in (basiccrt.o, basiccrts.o): Use
-mcpu=bf532-any for the default multilib.
2009-09-28 Michael Eager <eager@eagercon.com>
* configure.in: Add microblaze-*-*.

View File

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