linked with other repositories

This commit is contained in:
Marc
2023-09-21 20:12:32 +02:00
parent bcdb26422a
commit da9992e649
6 changed files with 8 additions and 5831 deletions
+6
View File
@@ -0,0 +1,6 @@
[submodule "linux-firmware"]
path = linux-firmware
url = https://gitlab.marcbarbier.fr/linuxjs/firmware-os
[submodule "kernel"]
path = kernel
url = https://gitlab.marcbarbier.fr/linuxjs/kernel-linux.js
Submodule
+1
Submodule kernel added at 59f83f98e7
-5795
View File
File diff suppressed because it is too large Load Diff
-2
View File
@@ -1,2 +0,0 @@
dist/
src/
-34
View File
@@ -1,34 +0,0 @@
if [ "$EUID" = 0 ]
then echo "Please don't run this as root"
exit
fi
VER=6.0.2
if [ ! -d src ]
then
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${VER}.tar.xz
mkdir src
mv linux-${VER}.tar.xz src/
cd src
tar xf linux-${VER}.tar.xz
rm linux-${VER}.tar.xz
mv linux-${VER}/* .
rm -rf linux-${VER}
cd -
fi
cd src
# make clean qui supprime le .config
#make mrproper
cp ../.config .config
make -j$(nproc) bzImage
make -j$(nproc) modules
sudo cp arch/x86_64/boot/bzImage ../../rootfs/boot/vmlinuz || exit 1
sudo cp System.map ../../rootfs/boot/System.map || exit 1
DESTDIR=$(pwd)/../../rootfs
sudo make modules_install INSTALL_MOD_PATH=$(realpath $DESTDIR) || exit 1
cd -
+1
Submodule linux-firmware added at 7304a0d522