tyton: change kernel target to upgrade easier

This commit is contained in:
blshkv 2019-02-13 11:37:48 +08:00
parent c0131212ed
commit c5ce3f860e
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F

View file

@ -21,7 +21,13 @@ S="${WORKDIR}/${PN}-${HASH_COMMIT}"
MODULE_NAMES="tyton(misc:${S}:${S})"
CONFIG_CHECK="NETFILTER_FAMILY_ARP"
BUILD_PARAMS="-j1"
#BUILD_PARAMS="-j1"
src_prepare() {
#change target from a current to selected kernel
sed -i "s#/lib/modules/\$(shell uname -r)#/lib/modules/${KV_FULL}#" Makefile
default
}
pkg_setup() {
linux-mod_pkg_setup