pmb.build.autodetect: support pmb:cross-native (MR 1920)

Have explicit selection of the "native" cross compilation method with a
new "pmb:cross-native" option. Deprecate the implicit pkgname pattern
matching.

Related: #1910
This commit is contained in:
Oliver Smith 2020-04-19 10:57:34 +02:00 committed by Minecrell
parent 34c6f88691
commit 77a6ad03cb
No known key found for this signature in database
GPG key ID: B77CE638A6C2E562
2 changed files with 10 additions and 1 deletions

View file

@ -38,7 +38,7 @@ def generate_apkbuild(args, pkgname, deviceinfo, patches):
_flavor=\"""" + device + """\"
url="https://kernel.org"
license="GPL-2.0-only"
options="!strip !check !tracedeps"
options="!strip !check !tracedeps pmb:cross-native"
makedepends=\"""" + makedepends + """\"
# Source