From d9ff60dad6c5f68824c481a2bb698d6941d0255b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 10 Sep 2009 21:58:35 +0200 Subject: eglibc compiles fine for arm --- package/Makefile | 5 +++++ package/eglibc/Config.in | 2 +- package/glibc/Config.in | 2 +- toolchain/gcc/Makefile | 11 ++++++----- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/package/Makefile b/package/Makefile index f416319d4..f8fca7505 100644 --- a/package/Makefile +++ b/package/Makefile @@ -440,8 +440,13 @@ INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y)) all: compile clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m) base-files) +ifeq ($(ADK_TOOLCHAIN_ONLY),y) +compile: $(COMPILE_PACKAGES) +install: $(INSTALL_PACKAGES) +else compile: base-files-compile $(COMPILE_PACKAGES) install: base-files-install $(INSTALL_PACKAGES) +endif download: $(DOWNLOAD) $(COMPILE_PACKAGES): base-files-compile diff --git a/package/eglibc/Config.in b/package/eglibc/Config.in index f16234bbb..6265c5b58 100644 --- a/package/eglibc/Config.in +++ b/package/eglibc/Config.in @@ -1,7 +1,7 @@ config ADK_PACKAGE_EGLIBC prompt "eglibc............................... embedded GNU C library" bool - default y if ADK_TARGET_LIB_EGLIBC + default y if ADK_TARGET_LIB_EGLIBC && !ADK_TOOLCHAIN_ONLY default n depends on ADK_TARGET_LIB_EGLIBC help diff --git a/package/glibc/Config.in b/package/glibc/Config.in index 35e630dc7..b6879a384 100644 --- a/package/glibc/Config.in +++ b/package/glibc/Config.in @@ -1,7 +1,7 @@ config ADK_PACKAGE_GLIBC prompt "glibc............................... GNU C library" bool - default y if ADK_TARGET_LIB_GLIBC + default y if ADK_TARGET_LIB_GLIBC && !ADK_TOOLCHAIN_ONLY default n depends on ADK_TARGET_LIB_GLIBC help diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index f6095eb8f..436973df6 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -25,13 +25,14 @@ GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \ --disable-libgomp \ --disable-biarch \ --disable-multilib \ + --disable-sjlj-exceptions \ --disable-nls -ifeq ($(ADK_LINUX_ARM_TOMTOM),y) -GCC_CONFOPTS+= --enable-sjlj-exceptions -else -GCC_CONFOPTS+= --disable-sjlj-exceptions -endif +#ifeq ($(ADK_LINUX_ARM_TOMTOM),y) +#GCC_CONFOPTS+= --enable-sjlj-exceptions +#else +#GCC_CONFOPTS+= --disable-sjlj-exceptions +#endif ifeq ($(ADK_SSP),y) GCC_CONFOPTS+= --enable-libssp -- cgit v1.2.3