Skip to content

Commit 01f731f

Browse files
committed
Oops, wrong directory for cross-compile targets
1 parent aa2300f commit 01f731f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CROSSBINDIR = $(CROSSDIR)/bin
88
TARGET = i586-elf
99

1010
$(BINUTILS_SRC):
11+
cd $(CROSSDIR) && \
1112
wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.gz && \
1213
tar xzvf binutils-2.22.tar.gz && rm binutils-2.22.tar.gz
1314

@@ -17,6 +18,7 @@ build-cross-binutils: $(BINUTILS_SRC)
1718
make && make install
1819

1920
$(GCC_SRC):
21+
cd $(CROSSDIR) && \
2022
wget ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.4/gcc-core-4.6.4.tar.gz && \
2123
tar xzvf gcc-core-4.6.4.tar.gz && rm gcc-core-4.6.4.tar.gz && \
2224
cd $(GCC_SRC) && contrib/download_prerequisites

0 commit comments

Comments
 (0)