summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/swig
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/swig
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/swig')
-rw-r--r--meta/recipes-devtools/swig/swig.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc
index 292bca393d..eb8d723158 100644
--- a/meta/recipes-devtools/swig/swig.inc
+++ b/meta/recipes-devtools/swig/swig.inc
@@ -49,11 +49,11 @@ BBCLASSEXTEND = "native nativesdk"
49 49
50# necessary together with bison dependency until a new upstream version after 50# necessary together with bison dependency until a new upstream version after
51# 3.0.12 includes 0001-Fix-generated-code-for-constant-expressions-containi.patch 51# 3.0.12 includes 0001-Fix-generated-code-for-constant-expressions-containi.patch
52do_configure_append() { 52do_configure:append() {
53 mkdir -p ${B}/Source/CParse 53 mkdir -p ${B}/Source/CParse
54} 54}
55 55
56do_install_append_class-nativesdk() { 56do_install:append:class-nativesdk() {
57 cd ${D}${bindir} 57 cd ${D}${bindir}
58 ln -s swig swig2.0 58 ln -s swig swig2.0
59} 59}
@@ -62,6 +62,6 @@ def swiglib_relpath(d):
62 swiglib = d.getVar('datadir') + "/" + d.getVar('BPN') + "/" + d.getVar('PV') 62 swiglib = d.getVar('datadir') + "/" + d.getVar('BPN') + "/" + d.getVar('PV')
63 return os.path.relpath(swiglib, d.getVar('bindir')) 63 return os.path.relpath(swiglib, d.getVar('bindir'))
64 64
65do_install_append_class-native() { 65do_install:append:class-native() {
66 create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)} 66 create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)}
67} 67}