mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-19 00:19:42 +02:00
2f006aa5e8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@197 3c298f89-4303-0410-b956-a3cf2f4a3e73
27 lines
661 B
Makefile
27 lines
661 B
Makefile
GCC_VERSION:=$(strip $(subst ",, $(BR2_GCC_VERSION)))
|
|
#"
|
|
GCC_USE_SJLJ_EXCEPTIONS:=$(strip $(subst ",, $(BR2_GCC_USE_SJLJ_EXCEPTIONS)))
|
|
#"
|
|
TARGET_OPTIMIZATION:=$(strip $(subst ",, $(BR2_TARGET_OPTIMIZATION)))
|
|
#""
|
|
|
|
|
|
ifeq ($(BR2_SOFT_FLOAT),y)
|
|
# gcc 3.4.x soft float configuration is different than previous versions.
|
|
ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
|
|
SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
|
|
else
|
|
SOFT_FLOAT_CONFIG_OPTION:=--without-float
|
|
endif
|
|
TARGET_SOFT_FLOAT:=-msoft-float
|
|
ARCH_FPU_SUFFIX:=_nofpu
|
|
else
|
|
SOFT_FLOAT_CONFIG_OPTION:=
|
|
TARGET_SOFT_FLOAT:=
|
|
ARCH_FPU_SUFFIX:=
|
|
endif
|
|
|
|
ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y)
|
|
TARGETS+=gcc_target
|
|
endif
|