• R/O
  • HTTP
  • SSH
  • HTTPS

uClinux-dist: Commit


Commit MetaInfo

Revisione742aeac8ecfe9189b8eb27bea84f5b5897ad7be (tree)
Time2014-05-26 17:48:06
AuthorYoshinori Sato <ysato@sa76...>
CommiterYoshinori Sato

Log Message

Update cross tools prefix

Change Summary

Incremental Difference

--- a/vendors/config/sh/config.arch
+++ b/vendors/config/sh/config.arch
@@ -66,7 +66,7 @@ ENDIAN ?= little
6666 MACHINE = sh
6767 ARCH = sh
6868
69-CROSS_COMPILE = sh-linux-
69+CROSS_COMPILE = sh-unknown-uclinux-
7070 ifneq ($(shell which sh-linux-gnu-gcc),)
7171 CROSS_COMPILE = sh-linux-gnu-
7272 endif
@@ -74,7 +74,7 @@ ifneq ($(shell which sh-linux-20070413-gcc),)
7474 CROSS_COMPILE = sh-linux-20070413-
7575 endif
7676
77-KERNEL_CROSS_COMPILE = sh-linux-
77+KERNEL_CROSS_COMPILE = sh-unknown-uclinux-
7878 ifneq ($(shell which sh-linux-gnu-gcc),)
7979 KERNEL_CROSS_COMPILE = sh-linux-gnu-
8080 endif
@@ -94,7 +94,7 @@ AR = $(CROSS_COMPILE)ar
9494 LD = $(ucfront_ld) $(CROSS_COMPILE)ld
9595 OBJCOPY = $(CROSS_COMPILE)objcopy
9696 RANLIB = $(CROSS_COMPILE)ranlib
97-ELF2FLT = :
97+ELF2FLT = elf2flt
9898 STRIPTOOL = $(CROSS_COMPILE)strip
9999 STRIP = $(STRIPTOOL)
100100
@@ -149,7 +149,7 @@ ifdef UCLINUX_BUILD_USER
149149 CFLAGS += -pipe
150150 CFLAGS += -fno-common -fno-builtin -Wall #-Werror
151151 CFLAGS += $(VENDOR_CFLAGS) -DEMBED
152- LDFLAGS += -fno-common -fno-builtin
152+ LDFLAGS += -fno-common -fno-builtin -Wl,-elf2flt
153153
154154 CXXFLAGS = $(CFLAGS) -nostdinc++
155155 CXXSUP := $(shell $(CXX) -print-file-name=libsupc++.a)
Show on old repository browser