From f3db9f0c592ad982d6702ce8314888d97e2de68b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 5 Oct 2012 14:49:13 +0200 Subject: make libgcc static for busybox, make librt separate package, remove dependency to libtirpc, disable inetd, add preliminary multilib support (not working right now),enable 32/64 bit kernel support for x86_64 --- toolchain/gcc/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'toolchain/gcc/Makefile') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index a9f361ffe..a61d5eaa7 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -17,7 +17,6 @@ GCC_CONFOPTS= --prefix=$(STAGING_HOST_DIR) \ --with-libelf=$(STAGING_HOST_DIR) \ --disable-__cxa_atexit \ --with-gnu-ld \ - --disable-multilib \ --disable-libmudflap \ --disable-libgomp \ --disable-decimal-float \ @@ -34,10 +33,12 @@ else GCC_CONFOPTS+= --disable-sjlj-exceptions endif -ifeq ($(ADK_64BIT_KERNEL),y) -GCC_CONFOPTS+= --enable-targets=all +ifeq ($(ADK_TARGET_WITH_MULTILIB),y) +GCC_CONFOPTS+= --with-multilib-list=$(ADK_MULTILIB_TARGET) \ + --enable-multilib else -GCC_CONFOPTS+= --disable-biarch +GCC_CONFOPTS+= --disable-biarch \ + --disable-multilib endif ifeq ($(ADK_TOOLCHAIN_GCC_SSP),y) -- cgit v1.2.3