Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/binutils

Buildroot aldot at uclibc.org 1 participant 1 message Dec 13, 2006

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2006-12-13 11:55:27 -0800 (Wed, 13 Dec 2006) New Revision: 16902

Log:
- Build binutils with sysroot support.

Modified:
trunk/buildroot/toolchain/binutils/binutils.mk

Changeset:
Modified: trunk/buildroot/toolchain/binutils/binutils.mk
===================================================================

buildroot/toolchain/binutils/binutils.mk +3 -1
@@ -62,6 +62,8 @@
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
+		--with-build-sysroot="$(TOOL_BUILD_DIR)/uClibc_dev/" \
+		--with-sysroot="$(TOOL_BUILD_DIR)/uClibc_dev/" \
 		$(DISABLE_NLS) \
 		$(MULTILIB) \
 		--disable-werror \
@@ -77,7 +79,7 @@
 $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld: $(BINUTILS_DIR1)/binutils/objdump
 	$(MAKE) -C $(BINUTILS_DIR1) install
 
-binutils: dependencies $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld
+binutils: dependencies uclibc-configured $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld
 
 binutils-source: $(DL_DIR)/$(BINUTILS_SOURCE)