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 ifneq ($(BR2_INET_IPV6
),y
)
30 DISABLE_IPV6
= --disable-ipv6
33 ifeq ($(BR2_GCC_USE_INTERWORKING
),y
)
34 BR2_MAYBE_USE_INTERWORKING
+=--enable-interwork
38 ifeq ($(BR2_TOOLCHAIN_SYSROOT
),y
)
39 BR2_SYSROOT_PREFIX
=# nothing, straight into /usr
40 BR2_SYSROOT_STAGING_DESTDIR
=DESTDIR
=$(STAGING_DIR
)/
41 BR2_SYSROOT_TARGET_DESTDIR
=DESTDIR
=$(TARGET_DIR
)/
42 BR2_CONFIGURE_DEVEL_SYSROOT
=--with-sysroot
=$(TOOL_BUILD_DIR
)/uClibc_dev
/
43 BR2_CONFIGURE_STAGING_SYSROOT
=--with-sysroot
=$(STAGING_DIR
)
44 BR2_CONFIGURE_BUILD_TOOLS
=--with-build-time-tools
=$(STAGING_DIR
)/usr
/$(REAL_GNU_TARGET_NAME
)/bin
45 BR2_SYSROOT
=--sysroot
=$(STAGING_DIR
)/
46 BR2_ISYSROOT
=-isysroot
$(STAGING_DIR
)
48 BR2_SYSROOT_PREFIX
=$(STAGING_DIR
)
49 BR2_SYSROOT_STAGING_DESTDIR
=# nothing
50 BR2_SYSROOT_TARGET_DESTDIR
=# nothing
51 BR2_CONFIGURE_DEVEL_SYSROOT
=--with-sysroot
=$(TOOL_BUILD_DIR
)/uClibc_dev
/
52 BR2_CONFIGURE_STAGING_SYSROOT
=# nothing
53 BR2_CONFIGURE_BUILD_TOOLS
=# nothing
58 # FIXME -- this is temporary
59 OPTIMIZE_FOR_CPU
=$(ARCH
)
61 # late binding check to see if the target cc supports -fwhole-program
62 CFLAGS_WHOLE_PROGRAM
= $(call cc-option
,-fwhole-program
,)
63 CFLAGS_COMBINE
= $(call cc-option
,-combine
,)
65 # gcc has a bunch of needed stuff....
66 include toolchain
/gcc
/Makefile.in