aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/binutils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter5/binutils.sh')
-rw-r--r--chapter5/binutils.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh
new file mode 100644
index 0000000..870d34a
--- /dev/null
+++ b/chapter5/binutils.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+mkdir build
+cd build
+
+../configure --prefix=$LFS/tools \
+ --with-sysroot=$LFS \
+ --target=$LFS_TGT \
+ --disable-nls \
+ --disable-werror &&
+make &&
+make -j1 install \ No newline at end of file