ctags: Extend to build native package
PATCH 1/2 ctags: Extend to build native package
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-devtools/ctags/ctags_6.0.20230611.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/ctags/ctags_6.0.20230611.0.bb +2 -0
@@ -32,3 +32,5 @@ PACKAGECONFIG[json] = "--enable-json,--disable-json,jansson" PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp" PACKAGECONFIG[yaml] = "--enable-yaml,--disable-yaml,libyaml" PACKAGECONFIG[manpages] = ",,python3-docutils-native" + +BBCLASSEXTEND = "native"
Signature · 1 line
2.41.0
PATCH 2/2 libcoap: Build linker symbol file explicitly
Since we autoreconf, it should be better to build the linker map file too, which requires ctags during build. This is otherwise flagged as error by lld linker where we specify a linker symbol file on cmdline but the file is not there.
Fixes
| libtool: error: symbol file './libcoap-3.sym' does not exist
Signed-off-by Khem Raj <[email protected]>
--- meta-networking/recipes-devtools/libcoap/libcoap_4.3.1.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-networking/recipes-devtools/libcoap/libcoap_4.3.1.bb +6 -0
@@ -16,6 +16,8 @@ S = "${WORKDIR}/git" inherit autotools manpages pkgconfig ptest +DEPENDS += "ctags-native" + PACKAGECONFIG ?= "\ async openssl tcp \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
@@ -42,6 +44,10 @@ python () { export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" +do_compile:prepend() { + oe_runmake update-map-file +} + do_install_ptest () { install -d ${D}${PTEST_PATH} install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest
Signature · 1 line
2.41.0