Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Feb 6, 2024
1 parent 89ba802 commit 76393c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/fc-kernels/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@ function build_version {
kernel_version=${stringarray[1]}
git checkout "$version"

cp ../configs/"${kernel_version}.config" .config
cp configs/"${kernel_version}.config" linux/.config

cd linux

make vmlinux -j "$(nproc)"

mkdir -p "../builds/vmlinux-${kernel_version}"
cp vmlinux "../builds/vmlinux-${kernel_version}/vmlinux.bin"

cd ..
}


git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux

cd linux

grep -v '^ *#' < kernel_versions.txt | while IFS= read -r version
do
build_version "$version"
Expand Down

0 comments on commit 76393c0

Please sign in to comment.