File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2121
2222KVER=4.9
2323
24+ here=` pwd`
25+
2426minor=` wget -q -O- http://linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-$KVER .N/ | grep -F patch-$KVER -gnu | head -n 1 | cut -f 9 -d . | cut -f 1 -d -`
2527[ ! -f kernel-cache/linux-libre-$KVER -gnu.tar.xz ] && wget -O kernel-cache/linux-libre-$KVER -gnu.tar.xz http://linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-$KVER .0/linux-libre-$KVER -gnu.tar.xz
2628[ ! -f kernel-cache/patch-$KVER -gnu-$KVER .$minor -gnu ] && wget -O- https://www.linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-$KVER .N/patch-$KVER -gnu-$KVER .$minor -gnu.xz | xz -d > kernel-cache/patch-$KVER -gnu-$KVER .$minor -gnu
@@ -39,7 +41,7 @@ patch -R -p 1 < ../kernel-cache/ath9k_htc_do_not_use_bulk_on_ep3_and_ep4.patch
3941sed s/' SUBLEVEL = .*' /' SUBLEVEL = 0' / -i Makefile
4042cp -f ../kernel/config .config
4143
42- export PATH=` pwd ` /ci:$PATH
44+ export PATH=$here /ci:$PATH
4345kmake=" make -j ` nproc` CROSS_COMPILE=arm-none-eabi- ARCH=arm"
4446
4547$kmake olddefconfig
@@ -66,6 +68,6 @@ vbutil_kernel --pack ../devsus-kernel/boot/vmlinux.kpart \
6668cd ..
6769
6870# put kernel modules in /lib/modules
69- $kmake -C linux-$KVER INSTALL_MOD_PATH=devsus-kernel modules_install
71+ $kmake -C linux-$KVER INSTALL_MOD_PATH=$here / devsus-kernel modules_install
7072rm -f devsus-kernel/lib/modules/$KVER .0-gnu/{build,source}
7173tar -c devsus-kernel | gzip -1 > devsus-kernel.tar.gz
You can’t perform that action at this time.
0 commit comments