5fd095b374
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
676 B
Makefile
23 lines
676 B
Makefile
ifeq ($(BR2_PTHREADS_NONE),y)
|
|
THREADS:=--disable-threads
|
|
else
|
|
THREADS:=--enable-threads
|
|
endif
|
|
|
|
ifeq ($(BR2_ENABLE_MULTILIB),y)
|
|
MULTILIB:=--enable-multilib
|
|
else
|
|
MULTILIB:=--disable-multilib
|
|
endif
|
|
|
|
BR2_SYSROOT_STAGING_DESTDIR=DESTDIR=$(STAGING_DIR)/
|
|
BR2_SYSROOT_TARGET_DESTDIR=DESTDIR=$(TARGET_DIR)/
|
|
BR2_CONFIGURE_DEVEL_SYSROOT=--with-sysroot=$(TOOLCHAIN_DIR)/uClibc_dev/
|
|
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)
|
|
|
|
# gcc has a bunch of needed stuff....
|
|
include toolchain/gcc/Makefile.in
|