summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-10 21:58:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-10 21:58:35 +0200
commitd9ff60dad6c5f68824c481a2bb698d6941d0255b (patch)
treeed519032a691225b2cbb8d097ef3e7a6d673f45c
parenta481c461a4a7dae7440b9de3145ecb5b87206b3a (diff)
eglibc compiles fine for arm
-rw-r--r--package/Makefile5
-rw-r--r--package/eglibc/Config.in2
-rw-r--r--package/glibc/Config.in2
-rw-r--r--toolchain/gcc/Makefile11
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