2006-04-15 00:37:50 +02:00
|
|
|
ifeq ($(BR2_PTHREADS_NONE),y)
|
2005-10-01 02:36:38 +02:00
|
|
|
THREADS:=--disable-threads
|
2006-04-15 00:37:50 +02:00
|
|
|
else
|
|
|
|
THREADS:=--enable-threads
|
2005-10-01 02:36:38 +02:00
|
|
|
endif
|
|
|
|
|
2004-10-09 03:06:03 +02:00
|
|
|
ifeq ($(BR2_ENABLE_MULTILIB),y)
|
|
|
|
MULTILIB:=--enable-multilib
|
2005-09-22 05:05:52 +02:00
|
|
|
else
|
|
|
|
MULTILIB:=--disable-multilib
|
2004-10-09 03:06:03 +02:00
|
|
|
endif
|
|
|
|
|
2007-06-20 13:26:36 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
|
|
|
|
BR2_SYSROOT_PREFIX=# nothing, straight into /usr
|
|
|
|
BR2_SYSROOT_STAGING_DESTDIR=DESTDIR=$(STAGING_DIR)/
|
|
|
|
BR2_SYSROOT_TARGET_DESTDIR=DESTDIR=$(TARGET_DIR)/
|
2009-09-23 01:30:00 +02:00
|
|
|
BR2_CONFIGURE_DEVEL_SYSROOT=--with-sysroot=$(TOOLCHAIN_DIR)/uClibc_dev/
|
2007-06-20 13:26:36 +02:00
|
|
|
BR2_CONFIGURE_STAGING_SYSROOT=--with-sysroot=$(STAGING_DIR)
|
|
|
|
BR2_CONFIGURE_BUILD_TOOLS=--with-build-time-tools=$(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin
|
|
|
|
BR2_SYSROOT=--sysroot=$(STAGING_DIR)/
|
|
|
|
BR2_ISYSROOT=-isysroot $(STAGING_DIR)
|
2007-06-02 00:16:28 +02:00
|
|
|
else
|
2007-06-20 13:26:36 +02:00
|
|
|
BR2_SYSROOT_PREFIX=$(STAGING_DIR)
|
|
|
|
BR2_SYSROOT_STAGING_DESTDIR=# nothing
|
|
|
|
BR2_SYSROOT_TARGET_DESTDIR=# nothing
|
2009-09-23 01:30:00 +02:00
|
|
|
BR2_CONFIGURE_DEVEL_SYSROOT=--with-sysroot=$(TOOLCHAIN_DIR)/uClibc_dev/
|
2007-06-20 13:26:36 +02:00
|
|
|
BR2_CONFIGURE_STAGING_SYSROOT=# nothing
|
|
|
|
BR2_CONFIGURE_BUILD_TOOLS=# nothing
|
|
|
|
BR2_SYSROOT=# nothing
|
|
|
|
BR2_ISYSROOT=#nothing
|
2007-06-02 00:16:28 +02:00
|
|
|
endif
|
|
|
|
|
2005-02-10 04:06:39 +01:00
|
|
|
# gcc has a bunch of needed stuff....
|
|
|
|
include toolchain/gcc/Makefile.in
|