Skip to content
Snippets Groups Projects
Unverified Commit d15cd373 authored by Martijn Braam's avatar Martijn Braam
Browse files

main/linux-postmarketos-qcom: Add back config system with new config

parent 7980c1b0
No related branches found
No related tags found
No related merge requests found
Pipeline #194145 failed
_flavor=postmarketos-qcom
_config="config-${_flavor}.${CARCH}"
pkgname=linux-${_flavor}
pkgver=5.2_rc3
pkgver=5.2.0_rc3
pkgrel=0
arch="armhf armv7"
arch="armv7"
pkgdesc="Kernel close to mainline with extra patches for Qualcomm devices"
url="https://kernel.org/"
makedepends="dtbtool perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev openssl-dev file bison flex"
options="!strip !check !tracedeps"
_repo_url="https://github.com/masneyb/linux/"
_commit="f1163f1d8ee8895ab1e467b8a9867838cff3422a"
source="linux-${_commit}.tar.gz::$_repo_url/archive/${_commit}.tar.gz"
source="
linux-${_commit}.tar.gz::https://github.com/masneyb/linux/archive/${_commit}.tar.gz
config-${_flavor}.armhf
config-${_flavor}.armv7
"
subpackages="$pkgname-dev"
......@@ -56,8 +60,9 @@ prepare() {
fi
mkdir -p "$srcdir"/build
cp -v "$srcdir"/$_config "$srcdir"/build/.config
make -C "$builddir" O="$srcdir"/build ARCH="$_carch" HOSTCC="$HOSTCC" \
qcom_defconfig
olddefconfig
}
build() {
......@@ -117,8 +122,9 @@ dev() {
# first we import config, run prepare to set up for building
# external modules, and create the scripts
mkdir -p "$dir"
cp "$srcdir"/$_config "$dir"/.config
make -j1 -C "$builddir" O="$dir" ARCH="$_carch" HOSTCC="$HOSTCC" \
qcom_defconfig prepare modules_prepare scripts
olddefconfig prepare modules_prepare scripts
# needed for 3rd party modules
# https://bugzilla.kernel.org/show_bug.cgi?id=11143
......@@ -153,4 +159,6 @@ dev() {
"$subpkgdir"/lib/modules/${_abi_release}/build
}
sha512sums="404d93112b24c263fd8cdec9fd1f607e02fb4e52c701dfbabde7b7e3d8811dcc04fe802bfc2cdd6832f1911f813bb64774df369535b712f7a3c5faa878d0ee2b linux-f1163f1d8ee8895ab1e467b8a9867838cff3422a.tar.gz"
sha512sums="404d93112b24c263fd8cdec9fd1f607e02fb4e52c701dfbabde7b7e3d8811dcc04fe802bfc2cdd6832f1911f813bb64774df369535b712f7a3c5faa878d0ee2b linux-f1163f1d8ee8895ab1e467b8a9867838cff3422a.tar.gz
fc151402f33f947fdfb1a0f60f7dee621b2299678c14bbc2d3425c22b3300795cddfba8635f3d2d9a409ea506e825d00957bffe14d54cd14612d364a1d03529a config-postmarketos-qcom.armhf
924308f9b7ab68b0d04faf882cf00a9597463583cd35e6453c5e1bae404c6b75526d3f43c44214ade80e3723da857c57cacc06333dcfaee601662ddccc901e1e config-postmarketos-qcom.armv7"
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment