linux-purism-librem5: add Clayton's rebase comment (MR 3896)
Taken from here: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3896#note_1287206744 [ci:skip-build]: already built successfully in CI (without this cosmetic comment, but it shouldn't change anything.) [ci:skip-vercheck]: this patch just modifies comments
This commit is contained in:
parent
2affe723e2
commit
92efdacfbf
1 changed files with 14 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
||||||
pkgname=linux-purism-librem5
|
pkgname=linux-purism-librem5
|
||||||
pkgver=6.2.0
|
pkgver=6.2.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
|
# NOTE: Don't forget to rebase the config! See prepare() for instructions.
|
||||||
_purismrel=1
|
_purismrel=1
|
||||||
# <kernel ver>.<purism kernel release>
|
# <kernel ver>.<purism kernel release>
|
||||||
_purismver=${pkgver}pureos$_purismrel
|
_purismver=${pkgver}pureos$_purismrel
|
||||||
|
@ -49,9 +50,19 @@ prepare() {
|
||||||
REPLACE_GCCH=0 \
|
REPLACE_GCCH=0 \
|
||||||
. downstreamkernel_prepare
|
. downstreamkernel_prepare
|
||||||
|
|
||||||
# NOTE: only for generating a config based on Purism's defconfig, for rebasing...
|
####### Rebase config
|
||||||
# make ARCH="$_carch" CC="${CC:-gcc}" \
|
# The kernel config needs to be periodically rebased to enable new
|
||||||
# defconfig KBUILD_DEFCONFIG=librem5_defconfig
|
# modules/features that Purism has enabled in their defconfig. This is done
|
||||||
|
# by: 1) generate .config using librem5_defconfig, 2) diff that .config
|
||||||
|
# with the config in this package, 3) carefully going over the diff and
|
||||||
|
# selecting new things enabled in their config.
|
||||||
|
#
|
||||||
|
# This can be uncommented to help generate the defconfig using "pmbootstrap
|
||||||
|
# build linux-purism-librem5". The build will fail (exit 1) to let you grab
|
||||||
|
# the config before it starts building the kernel:
|
||||||
|
# make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||||
|
# defconfig KBUILD_DEFCONFIG=librem5_defconfig
|
||||||
|
# exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue