Jelajahi Sumber

with binutils git, uClibc toolchain does compile and link successfully.

Waldemar Brodkorb 9 tahun lalu
induk
melakukan
13193ae108

+ 2 - 0
package/librt/Makefile

@@ -32,8 +32,10 @@ librt-install:
 	${INSTALL_DIR} ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH)
 ifeq ($(ADK_TARGET_LIB_MUSL),)
 ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
+ifeq ($(ADK_TARGET_BINFMT_FLAT),)
 	${CP} ${STAGING_TARGET_DIR}/lib/librt*.so* ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH)
 endif
 endif
+endif
 
 include ${ADK_TOPDIR}/mk/pkg-bottom.mk

+ 1 - 0
target/config/Config.in.toolchain

@@ -78,6 +78,7 @@ config ADK_TOOLCHAIN_BINUTILS_2_24
 	depends on !ADK_TARGET_ARCH_ARC
 	depends on !ADK_TARGET_ARCH_AVR32
 	depends on !ADK_TARGET_ARCH_CRIS
+	depends on !ADK_TARGET_ARCH_M68K
 
 config ADK_TOOLCHAIN_BINUTILS_GIT
 	bool "git"

+ 1 - 0
toolchain/binutils/Makefile

@@ -56,6 +56,7 @@ endif
 		--disable-dependency-tracking \
 		--disable-libtool-lock \
 		--disable-nls \
+		--disable-plugins \
 		--disable-werror \
 		--disable-install-libiberty \
 		${CONFOPTS} \

+ 1 - 1
toolchain/elf2flt/Makefile

@@ -6,7 +6,7 @@ include Makefile.inc
 include ../rules.mk
 include ${ADK_TOPDIR}/mk/buildhlp.mk
 
-BINUTILS_VERSION:=	2.24
+BINUTILS_VERSION:=	git
 
 $(WRKBUILD)/.headers:
 $(WRKBUILD)/.configured: