mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Shallow clone to save clone time and disk space
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
y=''
|
y=''
|
||||||
while getopts t OPT; do
|
while getopts t OPT; do
|
||||||
case "$OPT" in
|
case "$OPT" in
|
||||||
@@ -8,6 +9,9 @@ while getopts t OPT; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $(($OPTIND - 1))
|
shift $(($OPTIND - 1))
|
||||||
|
git submodule update --depth 1 --jobs 4 --init
|
||||||
|
cd qemu
|
||||||
|
git submodule update --init
|
||||||
sudo apt-get update $y
|
sudo apt-get update $y
|
||||||
# Building SDL for QEMU in Buildroot was rejected upstream because it adds many dependencies:
|
# Building SDL for QEMU in Buildroot was rejected upstream because it adds many dependencies:
|
||||||
# https://patchwork.ozlabs.org/patch/770684/
|
# https://patchwork.ozlabs.org/patch/770684/
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ The only advantage of using your host machine is that you don't have to wait som
|
|||||||
|
|
||||||
Reserve 12Gb of disk:
|
Reserve 12Gb of disk:
|
||||||
|
|
||||||
git clone --recursive https://github.com/cirosantilli/linux-kernel-module-cheat
|
git clone https://github.com/cirosantilli/linux-kernel-module-cheat
|
||||||
cd linux-kernel-module-cheat
|
cd linux-kernel-module-cheat
|
||||||
./configure
|
./configure
|
||||||
./build
|
./build
|
||||||
|
|||||||
Reference in New Issue
Block a user