mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
3a30c56238
Used sed expression given here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html Plus an additional expression for .expand. Full expression is: sed \ -e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Some minor correction in systemd.bbclass was needed for some expressions that didn't quite match the regex in the desired way; additionally a few instances were manually changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
20 lines
557 B
BlitzBasic
20 lines
557 B
BlitzBasic
require fakeroot_${PV}.bb
|
|
|
|
SRC_URI += "file://fix-prefix.patch"
|
|
S = "${WORKDIR}/fakeroot-${PV}"
|
|
|
|
inherit native
|
|
|
|
EXTRA_OECONF = "--program-prefix="
|
|
|
|
# Compatability for the rare systems not using or having SYSV
|
|
python () {
|
|
if d.getVar('HOST_NONSYSV', True) and d.getVar('HOST_NONSYSV', True) != '0':
|
|
d.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ')
|
|
}
|
|
|
|
RDEPENDS_${PN} = "util-linux-native"
|
|
|
|
SRC_URI[md5sum] = "aaefede2405a40c87438e7e833d69b70"
|
|
SRC_URI[sha256sum] = "dbcab1f495b857e67feff882e018ca59958b8d189ff1f76684d28e35463ec29d"
|