Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-10-08 20:35:34 +0400
committerJeff Johnston <jjohnstn@redhat.com>2009-10-08 20:35:34 +0400
commitb1da4d8277bc0d2cafb13a0d8c3760be7a2b3877 (patch)
treeab6153e26da8a7c1b4fa61047add3ba2172b9f8e /libgloss/bfin
parent85191fc5aa295e10e4bfecc8637d9d0ce74fc065 (diff)
2009-10-08 Jie Zhang <jie.zhang@analog.com>
* bfin/Makefile.in (basiccrt.o, basiccrts.o): Use -mcpu=bf532-any for the default multilib.
Diffstat (limited to 'libgloss/bfin')
-rw-r--r--libgloss/bfin/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in
index 91a9b54c9..3ab3a18c1 100644
--- a/libgloss/bfin/Makefile.in
+++ b/libgloss/bfin/Makefile.in
@@ -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)))