Fix a build problem found while building for arm soft-float
This commit is contained in:
parent
2068d63d6b
commit
2394ee58a9
10
Makefile
10
Makefile
@ -31,9 +31,14 @@
|
||||
# What sortof target system shall we compile this for?
|
||||
ARCH:=i386
|
||||
#ARCH:=arm
|
||||
#ARCH:=mipsel
|
||||
#ARCH:=mips
|
||||
#ARCH:=powerpc
|
||||
#ARCH:=sh4
|
||||
#ARCH:=cris
|
||||
#ARCH:=m68k
|
||||
#ARCH:=v850
|
||||
#ARCH:=sparc
|
||||
#ARCH:=sh64
|
||||
#ARCH:=whatever
|
||||
|
||||
# enable to build a native gcc toolchain with uclibc support
|
||||
@ -275,8 +280,9 @@ $(BUILD_DIR):
|
||||
$(STAGING_DIR):
|
||||
rm -rf $(STAGING_DIR)
|
||||
mkdir -p $(STAGING_DIR)/lib
|
||||
mkdir -p $(STAGING_DIR)/usr/lib
|
||||
mkdir -p $(STAGING_DIR)/usr
|
||||
mkdir -p $(STAGING_DIR)/include
|
||||
ln -fs ../lib $(STAGING_DIR)/usr/lib
|
||||
|
||||
$(TARGET_DIR):
|
||||
rm -rf $(TARGET_DIR)
|
||||
|
@ -17,13 +17,11 @@ $(BINUTILS_DIR)/.unpacked: $(DL_DIR)/$(BINUTILS_SOURCE)
|
||||
mkdir -p $(DL_DIR)
|
||||
mkdir -p $(STAGING_DIR)
|
||||
mkdir -p $(STAGING_DIR)/lib/gcc-lib
|
||||
mkdir -p $(STAGING_DIR)/usr/lib
|
||||
mkdir -p $(STAGING_DIR)/usr/bin;
|
||||
mkdir -p $(STAGING_DIR)/$(GNU_TARGET_NAME)/
|
||||
(cd $(STAGING_DIR)/$(GNU_TARGET_NAME); ln -fs ../lib)
|
||||
(cd $(STAGING_DIR)/$(GNU_TARGET_NAME); ln -fs ../include)
|
||||
(cd $(STAGING_DIR)/$(GNU_TARGET_NAME); ln -fs ../include sys-include)
|
||||
(cd $(STAGING_DIR)/usr/lib; ln -fs ../../lib/gcc-lib)
|
||||
$(BINUTILS_CAT) $(DL_DIR)/$(BINUTILS_SOURCE) | tar -C $(TOOL_BUILD_DIR) -xvf -
|
||||
touch $(BINUTILS_DIR)/.unpacked
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user