diff options
-rw-r--r-- | package/Makefile | 5 | ||||
-rw-r--r-- | package/eglibc/Config.in | 2 | ||||
-rw-r--r-- | package/glibc/Config.in | 2 | ||||
-rw-r--r-- | toolchain/gcc/Makefile | 11 |
4 files changed, 13 insertions, 7 deletions
diff --git a/package/Makefile b/package/Makefile index 68176afb9..37dc534c5 100644 --- a/package/Makefile +++ b/package/Makefile @@ -441,8 +441,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 |