Skip to content

Commit 7ddd70d

Browse files
committed
Add Ubuntu 21.10 and use it in preference to 21.04
1 parent d44fff2 commit 7ddd70d

3 files changed

Lines changed: 18 additions & 17 deletions

File tree

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Clone this repo.
2020
```
2121
$ cd ci-scripts
2222
$ cd build
23-
$ make pull-image@ppc64le@ubuntu@21.04
24-
$ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.04 JFACTOR=$(nproc)
23+
$ make pull-image@ppc64le@ubuntu@21.10
24+
$ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.10 JFACTOR=$(nproc)
2525
```
2626

27-
This will build you a `ppc64le_defconfig` using the Ubuntu 21.04 toolchain.
27+
This will build you a `ppc64le_defconfig` using the Ubuntu 21.10 toolchain.
2828

29-
The kernel will be in `output/ppc64le@ubuntu@21.04/ppc64le_defconfig/vmlinux`.
29+
The kernel will be in `output/ppc64le@ubuntu@21.10/ppc64le_defconfig/vmlinux`.
3030

3131
For more help try `make help`.
3232

@@ -36,14 +36,14 @@ Building different defconfigs
3636
You can specify a defconfig with `DEFCONFIG`.
3737

3838
```
39-
$ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.04 DEFCONFIG=powernv_defconfig JFACTOR=$(nproc)
39+
$ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.10 DEFCONFIG=powernv_defconfig JFACTOR=$(nproc)
4040
```
4141

4242
Note 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.04 DEFCONFIG=ppc64_defconfig JFACTOR=$(nproc)
46+
$ make SRC=~/src/linux kernel@ppc64@ubuntu@21.10 DEFCONFIG=ppc64_defconfig JFACTOR=$(nproc)
4747
```
4848

4949
Different toolchains
@@ -56,6 +56,7 @@ 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 21.10 `ubuntu@21.10`
5960
- Ubuntu 21.04 `ubuntu@21.04`
6061
- Ubuntu 20.10 `ubuntu@20.10`
6162
- Ubuntu 20.04 `ubuntu@20.04`
@@ -74,13 +75,13 @@ Building selftests
7475
To build the kernel selftests:
7576

7677
```
77-
$ make SRC=~/src/linux selftests@ppc64le@ubuntu@21.04 JFACTOR=$(nproc)
78+
$ make SRC=~/src/linux selftests@ppc64le@ubuntu@21.10 JFACTOR=$(nproc)
7879
```
7980

8081
Or just the powerpc selftests:
8182

8283
```
83-
$ make SRC=~/src/linux ppctests@ppc64le@ubuntu@21.04 JFACTOR=$(nproc)
84+
$ make SRC=~/src/linux ppctests@ppc64le@ubuntu@21.10 JFACTOR=$(nproc)
8485
```
8586

8687
You can also build the powerpc selftests with all available toolchains using:
@@ -94,17 +95,17 @@ Other options
9495

9596
As mentioned above you pass the make -j factor with `JFACTOR=n`.
9697

97-
To run sparse use the `ubuntu@21.04` image and pass `SPARSE=1`.
98+
To run sparse use the `ubuntu@21.10` image and pass `SPARSE=1`.
9899

99100
```
100-
$ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.04 SPARSE=1 JFACTOR=$(nproc)
101+
$ make SRC=~/src/linux kernel@ppc64le@ubuntu@21.10 SPARSE=1 JFACTOR=$(nproc)
101102
```
102103

103-
The log will be in eg. `output/ppc64le@ubuntu@21.04/ppc64le_defconfig/sparse.log`.
104+
The log will be in eg. `output/ppc64le@ubuntu@21.10/ppc64le_defconfig/sparse.log`.
104105

105106
To build modules pass `MODULES=1`
106107

107-
To build with clang pass `CLANG=1`, only works using the Ubuntu `21.04` images.
108+
To build with clang pass `CLANG=1`, only works using the Ubuntu `21.10` images.
108109

109110
For a quiet build pass `QUIET=1`, for verbose pass `VERBOSE=1`.
110111

@@ -126,7 +127,7 @@ Building your own image
126127
If you don't want to pull an untrusted image, you can build it yourself with:
127128

128129
```
129-
$ make rebuild-image@ppc64le@ubuntu@21.04
130+
$ make rebuild-image@ppc64le@ubuntu@21.10
130131
```
131132

132133
Note that the build mounts the source tree read-only, so nothing it does can

build/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ DOCS += docs@${1}@${2}
5858
endef
5959

6060
FEDORA_DISTROS := fedora@34 fedora@33 fedora@32 fedora@31
61-
UBUNTU_DISTROS := ubuntu@21.04 ubuntu@20.10 ubuntu@20.04 ubuntu@18.04 ubuntu@16.04
61+
UBUNTU_DISTROS := ubuntu@21.10 ubuntu@21.04 ubuntu@20.10 ubuntu@20.04 ubuntu@18.04 ubuntu@16.04
6262
KORG_DISTROS := korg@11.1.0 korg@10.3.0 korg@9.3.0 korg@8.1.0 korg@5.5.0
6363
ALL_DISTROS := ${UBUNTU_DISTROS} ${KORG_DISTROS} ${FEDORA_DISTROS}
64-
DOCS_DISTRO := docs@21.04
65-
X86_DISTRO := ubuntu@21.04
64+
DOCS_DISTRO := docs@21.10
65+
X86_DISTRO := ubuntu@21.10
6666
SUBARCHES := ppc64le ppc64
6767

6868
$(eval $(call MAIN_TEMPLATE,ppc64le,${DOCS_DISTRO}))

build/ubuntu/packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ machine=$(uname -m)
66

77
. /etc/os-release
88

9-
if [[ "$VERSION_ID" == "21.04" ]]; then
9+
if [[ "$VERSION_ID" == "21.10" ]]; then
1010
if [[ "$machine" != "x86_64" ]]; then
1111
PACKAGES+=" crossbuild-essential-amd64"
1212
fi

0 commit comments

Comments
 (0)