Utilize preset variable KERNEL_PACKAGE_NAME
to ensure uninformative with builds if
KERNEL_PACKAGE_NAME variable were to change.

Signed-off-by: Vincent Davis Jr <[email protected]>
---
 meta/recipes-connectivity/connman/connman_2.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/connman/connman_2.0.bb 
b/meta/recipes-connectivity/connman/connman_2.0.bb
index e9873f3163..4f60e089e5 100644
--- a/meta/recipes-connectivity/connman/connman_2.0.bb
+++ b/meta/recipes-connectivity/connman/connman_2.0.bb
@@ -12,7 +12,7 @@ LICENSE  = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
                     
file://src/main.c;beginline=1;endline=20;md5=486a279a6ab0c8d152bcda3a5b5edc36"
 
-inherit autotools pkgconfig systemd update-rc.d update-alternatives
+inherit autotools pkgconfig systemd update-rc.d update-alternatives kernel-vars
 
 CVE_PRODUCT = "connman connection_manager"
 
@@ -71,7 +71,7 @@ PACKAGECONFIG[l2tp] = "--enable-l2tp 
--with-l2tp=${sbindir}/xl2tpd,--disable-l2t
 PACKAGECONFIG[pptp] = "--enable-pptp 
--with-pptp=${sbindir}/pptp,--disable-pptp,ppp,pptp-linux"
 # WISPr support for logging into hotspots, requires TLS
 PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls,"
-PACKAGECONFIG[nftables] = "--with-firewall=nftables ,,libmnl 
libnftnl,,kernel-module-nf-tables kernel-module-nft-chain-nat-ipv4 
kernel-module-nft-chain-route-ipv4 kernel-module-nft-masq-ipv4 
kernel-module-nft-nat,iptables"
+PACKAGECONFIG[nftables] = "--with-firewall=nftables ,,libmnl 
libnftnl,,${KERNEL_PACKAGE_NAME}-module-nf-tables 
${KERNEL_PACKAGE_NAME}-module-nft-chain-nat-ipv4 
${KERNEL_PACKAGE_NAME}-module-nft-chain-route-ipv4 
${KERNEL_PACKAGE_NAME}-module-nft-masq-ipv4 
${KERNEL_PACKAGE_NAME}-module-nft-nat,iptables"
 PACKAGECONFIG[iptables] = "--with-firewall=iptables,,iptables,,,nftables"
 PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard"
 PACKAGECONFIG[client] = "--enable-client,--disable-client,readline"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240694): 
https://lists.openembedded.org/g/openembedded-core/message/240694
Mute This Topic: https://lists.openembedded.org/mt/120217985/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to