From 2487442cfb7158183d868c1022d5183bc85aa166 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 17 Nov 2023 09:51:40 +0100 Subject: ntpsec, net-snmp: drop ${PE}, ${PR} from /usr/src/debug paths Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb | 2 +- meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb index f40fb8bbd6..6f1c114177 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.3.bb @@ -178,7 +178,7 @@ do_install_ptest() { } SYSROOT_PREPROCESS_FUNCS += "net_snmp_sysroot_preprocess" -SNMP_DBGDIR = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" +SNMP_DBGDIR = "${TARGET_DBGSRC_DIR}" net_snmp_sysroot_preprocess () { if [ -e ${D}${bindir}/net-snmp-config ]; then diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb index af41d4989d..9ad97e7689 100644 --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb @@ -70,7 +70,7 @@ EXTRA_OEWAF_BUILD ?= "-v" NTP_USER_HOME ?= "/var/lib/ntp" -BISONFLAGS = "--file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" +BISONFLAGS = "--file-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" do_configure:prepend() { export BISONFLAGS="${BISONFLAGS}" -- cgit v1.2.3-54-g00ecf