Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
dc0f00d4
Unverified
Commit
dc0f00d4
authored
3 years ago
by
Newbyte
Committed by
Clayton Craft
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/linux-postmarketos-qcom-msm8939: new aport (MR 2344)
parent
9fef7b33
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/linux-postmarketos-qcom-msm8939/APKBUILD
+54
-0
54 additions, 0 deletions
main/linux-postmarketos-qcom-msm8939/APKBUILD
main/linux-postmarketos-qcom-msm8939/config-postmarketos-qcom-msm8939.aarch64
+5603
-0
5603 additions, 0 deletions
...tos-qcom-msm8939/config-postmarketos-qcom-msm8939.aarch64
with
5657 additions
and
0 deletions
main/linux-postmarketos-qcom-msm8939/APKBUILD
0 → 100644
+
54
−
0
View file @
dc0f00d4
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm64/configs/msm8939_defconfig
_flavor
=
"postmarketos-qcom-msm8939"
pkgname
=
linux-
$_flavor
pkgver
=
5.9_rc7_git20210713
pkgrel
=
0
pkgdesc
=
"Mainline kernel fork for Qualcomm MSM8939 devices"
arch
=
"aarch64"
_carch
=
"arm64"
url
=
"https://gitlab.com/msm8939-mainline/linux"
license
=
"GPL-2.0-only"
options
=
"!strip !check !tracedeps pmb:cross-native"
makedepends
=
"bash bc bison devicepkg-dev installkernel flex openssl-dev perl"
provides
=
"linux-huawei-kiwi=
$pkgver
-r
$pkgrel
"
# for backwards compatibility
replaces
=
"linux-huawei-kiwi"
_repository
=
"linux"
_tag
=
"5.9-rc7-v1"
_config
=
"config-
$_flavor
.
$arch
"
source
=
"
$pkgname
-
$_tag
.tar.gz::
$url
/-/archive/
$_tag
/linux-
$_tag
.tar.gz
$_config
"
builddir
=
"
$srcdir
/
$_repository
-
$_tag
"
prepare
()
{
default_prepare
cp
"
$srcdir
/config-
$_flavor
.
$CARCH
"
.config
}
build
()
{
unset
LDFLAGS
make
ARCH
=
"
$_carch
"
CC
=
"
${
CC
:-
gcc
}
"
\
KBUILD_BUILD_VERSION
=
"
$((
pkgrel
+
1
))
-postmarketOS"
}
package
()
{
mkdir
-p
"
$pkgdir
"
/boot
make zinstall modules_install dtbs_install
\
ARCH
=
"
$_carch
"
\
INSTALL_PATH
=
"
$pkgdir
"
/boot
\
INSTALL_MOD_PATH
=
"
$pkgdir
"
\
INSTALL_MOD_STRIP
=
1
\
INSTALL_DTBS_PATH
=
"
$pkgdir
"
/usr/share/dtb
rm
-f
"
$pkgdir
"
/lib/modules/
*
/build
"
$pkgdir
"
/lib/modules/
*
/source
install
-D
"
$builddir
"
/include/config/kernel.release
\
"
$pkgdir
"
/usr/share/kernel/
$_flavor
/kernel.release
}
sha512sums
=
"
a50083ea1ef33b2326a4b241a82f923f7529155969523052dd3c3f330a7ff194f1ef081cb698fc1d866efca2d73ca027dbbc68edf265b88daebabde901a31613 linux-postmarketos-qcom-msm8939-5.9-rc7-v1.tar.gz
d9e04dadbaff1bc99b2366ade49a84cca1e6c7dac726b2b6ddfeeca9e67539ef67563f430507982df7e92b41617f3714f604ed3f77d58f5f1efef395722f3611 config-postmarketos-qcom-msm8939.aarch64
"
This diff is collapsed.
Click to expand it.
main/linux-postmarketos-qcom-msm8939/config-postmarketos-qcom-msm8939.aarch64
0 → 100644
+
5603
−
0
View file @
dc0f00d4
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment