@@ -20,13 +20,13 @@ Clone this repo.
2020```
2121$ cd ci-scripts
2222$ cd build
23- $ make pull-image@ppc64le@ubuntu@21.10
24- $ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.10 JFACTOR=$(nproc)
23+ $ make pull-image@ppc64le@ubuntu
24+ $ make SRC=~/src/linux kernel@ppc64le@ubuntu JFACTOR=$(nproc)
2525```
2626
27- This will build you a ` ppc64le_defconfig ` using the Ubuntu 21.10 toolchain.
27+ This will build you a ` ppc64le_defconfig ` using the latest Ubuntu toolchain.
2828
29- The kernel will be in ` output/ppc64le@ubuntu@21.10 /ppc64le_defconfig/vmlinux ` .
29+ The kernel will be in ` output/ppc64le@ubuntu/ppc64le_defconfig/vmlinux ` .
3030
3131For more help try ` make help ` .
3232
@@ -36,14 +36,14 @@ Building different defconfigs
3636You can specify a defconfig with ` DEFCONFIG ` .
3737
3838```
39- $ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.10 DEFCONFIG=powernv_defconfig JFACTOR=$(nproc)
39+ $ make SRC=~/src/linux kernel@ppc64le@ubuntu DEFCONFIG=powernv_defconfig JFACTOR=$(nproc)
4040```
4141
4242Note that the subarch (eg. ` ppc64le ` ) needs to match the defconfig, so to build
4343` ppc64_defconfig ` , use ` ppc64 ` .
4444
4545```
46- $ make SRC=~/src/linux kernel@ppc64@ubuntu@21.10 DEFCONFIG=ppc64_defconfig JFACTOR=$(nproc)
46+ $ make SRC=~/src/linux kernel@ppc64@ubuntu DEFCONFIG=ppc64_defconfig JFACTOR=$(nproc)
4747```
4848
4949Different toolchains
@@ -56,9 +56,9 @@ There are images for various toolchains, they are encoded in the distro name/ver
5656 - kernel.org gcc 9.3.0 ` korg@9.3.0 `
5757 - kernel.org gcc 8.1.0 ` korg@8.1.0 `
5858 - kernel.org gcc 5.5.0 ` korg@5.5.0 `
59+ - Ubuntu 22.04 ` ubuntu@22.04 `
5960 - Ubuntu 21.10 ` ubuntu@21.10 `
6061 - Ubuntu 21.04 ` ubuntu@21.04 `
61- - Ubuntu 20.10 ` ubuntu@20.10 `
6262 - Ubuntu 20.04 ` ubuntu@20.04 `
6363 - Ubuntu 18.04 ` ubuntu@18.04 `
6464 - Ubuntu 16.04 ` ubuntu@16.04 `
@@ -75,13 +75,13 @@ Building selftests
7575To build the kernel selftests:
7676
7777```
78- $ make SRC=~/src/linux selftests@ppc64le@ubuntu@21.10 JFACTOR=$(nproc)
78+ $ make SRC=~/src/linux selftests@ppc64le@ubuntu JFACTOR=$(nproc)
7979```
8080
8181Or just the powerpc selftests:
8282
8383```
84- $ make SRC=~/src/linux ppctests@ppc64le@ubuntu@21.10 JFACTOR=$(nproc)
84+ $ make SRC=~/src/linux ppctests@ppc64le@ubuntu JFACTOR=$(nproc)
8585```
8686
8787You can also build the powerpc selftests with all available toolchains using:
@@ -95,17 +95,21 @@ Other options
9595
9696As mentioned above you pass the make -j factor with ` JFACTOR=n ` .
9797
98- To run sparse use the ` ubuntu@21.10 ` image and pass ` SPARSE=1 ` .
98+ To run sparse use the ` ubuntu ` image and pass ` SPARSE=2 ` .
9999
100100```
101- $ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.10 SPARSE=1 JFACTOR=$(nproc)
101+ $ make SRC=~/src/linux kernel@ppc64le@ubuntu SPARSE=2 JFACTOR=$(nproc)
102102```
103103
104- The log will be in eg. ` output/ppc64le@ubuntu@21.10/ppc64le_defconfig/sparse.log ` .
104+ The log will be in eg. ` output/ppc64le@ubuntu/ppc64le_defconfig/sparse.log ` .
105+
106+ To only run sparse on files being recompiled, pass ` SPARSE=1 ` .
105107
106108To build modules pass ` MODULES=1 `
107109
108- To build with clang pass ` CLANG=1 ` , only works using the Ubuntu ` 21.10 ` images.
110+ To convert all modules to builtin, pass ` MOD2YES=1 ` .
111+
112+ To build with clang pass ` CLANG=1 ` , only works using the latest Ubuntu image.
109113
110114For a quiet build pass ` QUIET=1 ` , for verbose pass ` VERBOSE=1 ` .
111115
@@ -127,7 +131,7 @@ Building your own image
127131If you don't want to pull an untrusted image, you can build it yourself with:
128132
129133```
130- $ make rebuild-image@ppc64le@ubuntu@21.10
134+ $ make rebuild-image@ppc64le@ubuntu
131135```
132136
133137Note that the build mounts the source tree read-only, so nothing it does can
0 commit comments