Make the most important dependency mandatory

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2021-03-25 00:00:01 +00:00
parent 3aa1a670b7
commit 956adffe40
6 changed files with 32 additions and 17 deletions

View File

@@ -91,6 +91,7 @@ Reserve 12Gb of disk and run:
....
git clone https://github.com/cirosantilli/linux-kernel-module-cheat
cd linux-kernel-module-cheat
./setup
./build --download-dependencies qemu-buildroot
./run
....
@@ -146,6 +147,7 @@ All available modules can be found in the link:kernel_modules[] directory.
It is super easy to build for different <<cpu-architecture,CPU architectures>>, just use the `--arch` option:
....
./setup
./build --arch aarch64 --download-dependencies qemu-buildroot
./run --arch aarch64
....
@@ -628,6 +630,7 @@ For the most part, if you just add the `--emulator gem5` option or `*-gem5` suff
If you haven't built Buildroot yet for <<qemu-buildroot-setup>>, you can build from the beginning with:
....
./setup
./build --download-dependencies gem5-buildroot
./run --emulator gem5
....
@@ -843,6 +846,7 @@ Or to run a baremetal example instead:
Be saner and use our custom built QEMU instead:
....
./setup
./build --download-dependencies qemu
./run
....
@@ -1099,6 +1103,7 @@ You can install those libraries with:
....
cd linux-kernel-module-cheat
./setup
./build --download-dependencies userland-host
....
@@ -1277,6 +1282,7 @@ Every `.c` file inside link:baremetal/[] and `.S` file inside `baremetal/arch/<a
For example, to run link:baremetal/arch/aarch64/dump_regs.c[] in QEMU do:
....
./setup
./build --arch aarch64 --download-dependencies qemu-baremetal
./run --arch aarch64 --baremetal baremetal/arch/aarch64/dump_regs.c
....
@@ -1360,6 +1366,7 @@ You can run all the baremetal examples in one go and check that all assertions p
To use gem5 instead of QEMU do:
....
./setup
./build --download-dependencies gem5-baremetal
./run --arch aarch64 --baremetal userland/c/hello.c --emulator gem5
....
@@ -1437,6 +1444,7 @@ For development, you will want to do a more controlled build with extra error ch
For the initial build do:
....
./setup
./build --download-dependencies docs
....
@@ -3925,7 +3933,7 @@ Then, from inside that image:
sudo apt-get install git
git clone https://github.com/cirosantilli/linux-kernel-module-cheat
cd linux-kernel-module-cheat
sudo ./setup -y
./setup -y
....
and then proceed exactly as in <<prebuilt>>.
@@ -27584,6 +27592,7 @@ For other Linux distros, everything will likely also just work if you install th
Find out the packages that we install with:
....
cat ./setup
./build --download-dependencies --dry-run <some-target> | less
....