Install Linux headers

This commit is contained in:
Alex Kotov 2022-06-21 18:56:39 +03:00
parent 2eafa78ebc
commit b49251314b
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
3 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,9 @@ cd "$REPO/build/$ARCH/binutils"
make -j"$J"
make install
cd "$REPO/src/linux-5.4.199"
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
cd "$REPO/build/$ARCH/gcc"
"$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

View File

@ -17,6 +17,9 @@ cd "$REPO/build/$ARCH/binutils"
make -j"$J"
make install
cd "$REPO/src/linux-5.4.199"
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
cd "$REPO/build/$ARCH/gcc"
"$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

View File

@ -17,6 +17,9 @@ cd "$REPO/build/$ARCH/binutils"
make -j"$J"
make install
cd "$REPO/src/linux-5.4.199"
make ARCH="$ARCH" INSTALL_HDR_PATH="$ROOT/$TARGET" headers_install
cd "$REPO/build/$ARCH/gcc"
"$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