summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pseudo/pseudo.inc
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/pseudo/pseudo.inc
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/pseudo/pseudo.inc')
-rw-r--r--meta/recipes-devtools/pseudo/pseudo.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index e6512bc6e6..7ba414ca25 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -10,14 +10,14 @@ SECTION = "base"
10LICENSE = "LGPL2.1" 10LICENSE = "LGPL2.1"
11DEPENDS = "sqlite3 attr" 11DEPENDS = "sqlite3 attr"
12 12
13FILES_${PN} = "${prefix}/lib/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo" 13FILES:${PN} = "${prefix}/lib/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo"
14INSANE_SKIP_${PN} += "libdir" 14INSANE_SKIP:${PN} += "libdir"
15INSANE_SKIP_${PN}-dbg += "libdir" 15INSANE_SKIP:${PN}-dbg += "libdir"
16 16
17PROVIDES += "virtual/fakeroot" 17PROVIDES += "virtual/fakeroot"
18 18
19MAKEOPTS = "" 19MAKEOPTS = ""
20MAKEOPTS_class-native = "'RPATH=-Wl,--rpath=XORIGIN/../../../sqlite3-native/usr/lib/'" 20MAKEOPTS:class-native = "'RPATH=-Wl,--rpath=XORIGIN/../../../sqlite3-native/usr/lib/'"
21 21
22inherit siteinfo pkgconfig 22inherit siteinfo pkgconfig
23 23
@@ -26,7 +26,7 @@ do_configure () {
26} 26}
27 27
28NO32LIBS ??= "1" 28NO32LIBS ??= "1"
29NO32LIBS_class-nativesdk = "1" 29NO32LIBS:class-nativesdk = "1"
30 30
31PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback --enable-epoll --enable-xattr" 31PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback --enable-epoll --enable-xattr"
32 32
@@ -79,7 +79,7 @@ warn_32bit_missing() {
79# Two below are the same 79# Two below are the same
80# If necessary compile for the alternative machine arch. This is only 80# If necessary compile for the alternative machine arch. This is only
81# necessary in a native build. 81# necessary in a native build.
82do_compile_prepend_class-native () { 82do_compile:prepend:class-native () {
83 maybe_make32 83 maybe_make32
84 if $make32; then 84 if $make32; then
85 # We need the 32-bit libpseudo on a 64-bit machine... 85 # We need the 32-bit libpseudo on a 64-bit machine...
@@ -100,7 +100,7 @@ do_compile_prepend_class-native () {
100 fi 100 fi
101} 101}
102 102
103do_compile_prepend_class-nativesdk () { 103do_compile:prepend:class-nativesdk () {
104 maybe_make32 104 maybe_make32
105 if $make32; then 105 if $make32; then
106 # We need the 32-bit libpseudo on a 64-bit machine. 106 # We need the 32-bit libpseudo on a 64-bit machine.
@@ -112,7 +112,7 @@ do_compile_prepend_class-nativesdk () {
112 fi 112 fi
113} 113}
114 114
115do_compile_append_class-native () { 115do_compile:append:class-native () {
116 if [ '${@bb.data.inherits_class('uninative', d)}' = 'True' ]; then 116 if [ '${@bb.data.inherits_class('uninative', d)}' = 'True' ]; then
117 for i in PSEUDO_PORT_UNIX_SYNCFS PSEUDO_PORT_UIDS_GENERIC PSEUDO_PORT_LINUX_NEWCLONE PSEUDO_PORT_LINUX_XATTR PSEUDO_PORT_LINUX_STATVFS; do 117 for i in PSEUDO_PORT_UNIX_SYNCFS PSEUDO_PORT_UIDS_GENERIC PSEUDO_PORT_LINUX_NEWCLONE PSEUDO_PORT_LINUX_XATTR PSEUDO_PORT_LINUX_STATVFS; do
118 grep $i.1 ${S}/pseudo_ports.h 118 grep $i.1 ${S}/pseudo_ports.h
@@ -129,7 +129,7 @@ do_install () {
129 oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install 129 oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install
130} 130}
131 131
132do_install_append_class-native () { 132do_install:append:class-native () {
133 chrpath ${D}${bindir}/pseudo -r `chrpath ${D}${bindir}/pseudo | cut -d = -f 2 | sed s/XORIGIN/\\$ORIGIN/` 133 chrpath ${D}${bindir}/pseudo -r `chrpath ${D}${bindir}/pseudo | cut -d = -f 2 | sed s/XORIGIN/\\$ORIGIN/`
134 install -d ${D}${sysconfdir} 134 install -d ${D}${sysconfdir}
135 # The fallback files should never be modified 135 # The fallback files should never be modified
@@ -146,7 +146,7 @@ do_install_append_class-native () {
146 fi 146 fi
147} 147}
148 148
149do_install_append_class-nativesdk () { 149do_install:append:class-nativesdk () {
150 maybe_make32 150 maybe_make32
151 if $make32; then 151 if $make32; then
152 mkdir -p ${D}${prefix}/lib/pseudo/lib 152 mkdir -p ${D}${prefix}/lib/pseudo/lib