added binutils toolchain step
This commit is contained in:
@@ -23,7 +23,25 @@ bootstrap() {
|
||||
|
||||
|
||||
toolchain() {
|
||||
echo toolchain
|
||||
sed '6031s/$add_dir//' -i ltmain.sh
|
||||
|
||||
mkdir -p build && cd build
|
||||
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
--build=$(../config.guess) \
|
||||
--host=$TARGET \
|
||||
--disable-nls \
|
||||
--enable-shared \
|
||||
--enable-gprofng=no \
|
||||
--disable-werror \
|
||||
--enable-64-bit-bfd \
|
||||
--enable-new-dtags \
|
||||
--enable-default-hash-style=gnu > /dev/null
|
||||
|
||||
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
|
||||
|
||||
rm "$SYSROOT"/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes,sframe}.{a,la}
|
||||
}
|
||||
|
||||
setup() {
|
||||
|
||||
Reference in New Issue
Block a user