1 ifeq ($(BR2_PTHREADS_NONE
),y
)
2 THREADS
:=--disable-threads
4 THREADS
:=--enable-threads
7 ifeq ($(BR2_ENABLE_MULTILIB
),y
)
8 MULTILIB
:=--enable-multilib
10 MULTILIB
:=--disable-multilib
13 ifeq ($(BR2_ENABLE_OPENMP
),y
)
14 OPENMP
:=--enable-openmp
16 OPENMP
:=--disable-openmp
19 ifeq ($(BR2_ENABLE_LOCALE
),y
)
22 DISABLE_NLS
:=--disable-nls
25 ifneq ($(BR2_LARGEFILE
),y
)
26 DISABLE_LARGEFILE
= --disable-largefile
29 ifeq ($(BR2_ENABLE_SELINUX
),y
)
32 DISABLE_SELINUX
:=--disable-selinux
36 ifneq ($(BR2_INET_IPV6
),y
)
37 DISABLE_IPV6
= --disable-ipv6
40 ifeq ($(BR2_GCC_USE_INTERWORKING
),y
)
41 BR2_MAYBE_USE_INTERWORKING
+=--enable-interwork
45 ifeq ($(BR2_TOOLCHAIN_SYSROOT
),y
)
46 BR2_SYSROOT_PREFIX
=# nothing, straight into /usr
47 BR2_SYSROOT_STAGING_DESTDIR
=DESTDIR
=$(STAGING_DIR
)/
48 BR2_SYSROOT_TARGET_DESTDIR
=DESTDIR
=$(TARGET_DIR
)/
49 BR2_CONFIGURE_DEVEL_SYSROOT
=--with-sysroot
=$(TOOL_BUILD_DIR
)/uClibc_dev
/
50 BR2_CONFIGURE_STAGING_SYSROOT
=--with-sysroot
=$(STAGING_DIR
)
51 BR2_CONFIGURE_BUILD_TOOLS
=--with-build-time-tools
=$(STAGING_DIR
)/usr
/$(REAL_GNU_TARGET_NAME
)/bin
52 BR2_SYSROOT
=--sysroot
=$(STAGING_DIR
)/
53 BR2_ISYSROOT
=-isysroot
$(STAGING_DIR
)
55 BR2_SYSROOT_PREFIX
=$(STAGING_DIR
)
56 BR2_SYSROOT_STAGING_DESTDIR
=# nothing
57 BR2_SYSROOT_TARGET_DESTDIR
=# nothing
58 BR2_CONFIGURE_DEVEL_SYSROOT
=--with-sysroot
=$(TOOL_BUILD_DIR
)/uClibc_dev
/
59 BR2_CONFIGURE_STAGING_SYSROOT
=# nothing
60 BR2_CONFIGURE_BUILD_TOOLS
=# nothing
65 # FIXME -- this is temporary
66 OPTIMIZE_FOR_CPU
=$(ARCH
)
68 # late binding check to see if the target cc supports -fwhole-program
69 CFLAGS_WHOLE_PROGRAM
= $(call cc-option
,-fwhole-program
,)
70 CFLAGS_COMBINE
= $(call cc-option
,-combine
,)
72 # gcc has a bunch of needed stuff....
73 include toolchain
/gcc
/Makefile.in