mirror of https://github.com/tailix/cross.git
Improve code
This commit is contained in:
parent
b49251314b
commit
a2aad11525
|
@ -13,7 +13,12 @@ PATH="$ROOT/bin:$PATH"
|
||||||
if [ -z "$J" ]; then J='1'; fi
|
if [ -z "$J" ]; then J='1'; fi
|
||||||
|
|
||||||
cd "$REPO/build/$ARCH/binutils"
|
cd "$REPO/build/$ARCH/binutils"
|
||||||
"$REPO/src/binutils-2.37/configure" --target="$TARGET" --prefix="$ROOT" --with-sysroot --disable-nls --disable-werror
|
"$REPO/src/binutils-2.37/configure" \
|
||||||
|
--target="$TARGET" \
|
||||||
|
--prefix="$ROOT" \
|
||||||
|
--with-sysroot \
|
||||||
|
--disable-nls \
|
||||||
|
--disable-werror
|
||||||
make -j"$J"
|
make -j"$J"
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
@ -21,6 +26,11 @@ cd "$REPO/src/linux-5.4.199"
|
||||||
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
|
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
|
||||||
|
|
||||||
cd "$REPO/build/$ARCH/gcc"
|
cd "$REPO/build/$ARCH/gcc"
|
||||||
"$REPO/src/gcc-11.2.0/configure" --target="$TARGET" --prefix="$ROOT" --disable-nls --enable-languages=c,c++ --without-headers
|
"$REPO/src/gcc-11.2.0/configure" \
|
||||||
|
--target="$TARGET" \
|
||||||
|
--prefix="$ROOT" \
|
||||||
|
--disable-nls \
|
||||||
|
--enable-languages=c,c++ \
|
||||||
|
--without-headers
|
||||||
make -j"$J" all-gcc all-target-libgcc
|
make -j"$J" all-gcc all-target-libgcc
|
||||||
make install-gcc install-target-libgcc
|
make install-gcc install-target-libgcc
|
||||||
|
|
|
@ -13,7 +13,12 @@ PATH="$ROOT/bin:$PATH"
|
||||||
if [ -z "$J" ]; then J='1'; fi
|
if [ -z "$J" ]; then J='1'; fi
|
||||||
|
|
||||||
cd "$REPO/build/$ARCH/binutils"
|
cd "$REPO/build/$ARCH/binutils"
|
||||||
"$REPO/src/binutils-2.37/configure" --target="$TARGET" --prefix="$ROOT" --with-sysroot --disable-nls --disable-werror
|
"$REPO/src/binutils-2.37/configure" \
|
||||||
|
--target="$TARGET" \
|
||||||
|
--prefix="$ROOT" \
|
||||||
|
--with-sysroot \
|
||||||
|
--disable-nls \
|
||||||
|
--disable-werror
|
||||||
make -j"$J"
|
make -j"$J"
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
@ -21,6 +26,11 @@ cd "$REPO/src/linux-5.4.199"
|
||||||
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
|
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
|
||||||
|
|
||||||
cd "$REPO/build/$ARCH/gcc"
|
cd "$REPO/build/$ARCH/gcc"
|
||||||
"$REPO/src/gcc-11.2.0/configure" --target="$TARGET" --prefix="$ROOT" --disable-nls --enable-languages=c,c++ --without-headers
|
"$REPO/src/gcc-11.2.0/configure" \
|
||||||
|
--target="$TARGET" \
|
||||||
|
--prefix="$ROOT" \
|
||||||
|
--disable-nls \
|
||||||
|
--enable-languages=c,c++ \
|
||||||
|
--without-headers
|
||||||
make -j"$J" all-gcc all-target-libgcc
|
make -j"$J" all-gcc all-target-libgcc
|
||||||
make install-gcc install-target-libgcc
|
make install-gcc install-target-libgcc
|
||||||
|
|
|
@ -13,7 +13,12 @@ PATH="$ROOT/bin:$PATH"
|
||||||
if [ -z "$J" ]; then J='1'; fi
|
if [ -z "$J" ]; then J='1'; fi
|
||||||
|
|
||||||
cd "$REPO/build/$ARCH/binutils"
|
cd "$REPO/build/$ARCH/binutils"
|
||||||
"$REPO/src/binutils-2.37/configure" --target="$TARGET" --prefix="$ROOT" --with-sysroot --disable-nls --disable-werror
|
"$REPO/src/binutils-2.37/configure" \
|
||||||
|
--target="$TARGET" \
|
||||||
|
--prefix="$ROOT" \
|
||||||
|
--with-sysroot \
|
||||||
|
--disable-nls \
|
||||||
|
--disable-werror
|
||||||
make -j"$J"
|
make -j"$J"
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
@ -21,6 +26,11 @@ cd "$REPO/src/linux-5.4.199"
|
||||||
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
|
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
|
||||||
|
|
||||||
cd "$REPO/build/$ARCH/gcc"
|
cd "$REPO/build/$ARCH/gcc"
|
||||||
"$REPO/src/gcc-11.2.0/configure" --target="$TARGET" --prefix="$ROOT" --disable-nls --enable-languages=c,c++ --without-headers
|
"$REPO/src/gcc-11.2.0/configure" \
|
||||||
|
--target="$TARGET" \
|
||||||
|
--prefix="$ROOT" \
|
||||||
|
--disable-nls \
|
||||||
|
--enable-languages=c,c++ \
|
||||||
|
--without-headers
|
||||||
make -j"$J" all-gcc all-target-libgcc
|
make -j"$J" all-gcc all-target-libgcc
|
||||||
make install-gcc install-target-libgcc
|
make install-gcc install-target-libgcc
|
||||||
|
|
Loading…
Reference in New Issue