summaryrefslogtreecommitdiff
path: root/toolchain/Makefile.in
blob: d1af87747a4f637ef7d924b016d93a6dc58c5753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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_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

# gcc has a bunch of needed stuff....
include toolchain/gcc/Makefile.in