Kaynağa Gözat

eglibc compiles fine for arm

Waldemar Brodkorb 14 yıl önce
ebeveyn
işleme
d9ff60dad6

+ 5 - 0
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

+ 1 - 1
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

+ 1 - 1
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

+ 6 - 5
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