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>
* mcnavi depends on ecore, but meta-oe does not depend on meta-efl
* thanks to kergoth for reporting this!
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* configure checks for that
| configure:17465: error: Package requirements (ecore ecore-evas evas edje imlib2 libgps) were not met:
|
| No package 'edje' found
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* it could be something machine specific (config + hoooks) and we don't want gpsd sstate checksum depending on MACHINE var
* gpsd-machine-conf itself is using u-a to select right config
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* which doesn't work sometimes:
chrpath -d "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.5-r7/image/usr/sbin/gpsd"
`/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.5-r7/image/usr/sbin/gpsd'
probably isn't a 64-bit LSB-first ELF file.
elf_open: Exec format error
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit updates the SRC_URI for the following recipes to use "protocol"
meta-oe/recipes-devtools/python/python-pyyaml_svn.bb
meta-oe/recipes-navigation/navit/navit_svn.bb
meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb
meta-oe/recipes-qt/qcanobserver/qcanobserver_svn.bb
meta-oe/recipes-support/dfu-util/dfu-util_svn.bb
meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_svn.bb
meta-oe/recipes-support/samsung-soc-utils/s3c64xx-gpio_svn.bb
meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb
meta-oe/recipes-support/usbpath/usbpath_svn.bb
meta-oe/recipes-support/wmiconfig/wmiconfig_svn.bb
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Without that fix gpsd starts without using the machine specific
gps serial port.
On some devices like the GTA04, not only that makes GPS not work,
but that also prevent suspend because GPS has to be off in order
for suspend to succeed(and the program powering off the GPS
has to know if the GPS is on or off by using gpsd).
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* on debian wheezy I've seen this
$ tmp-eglibc/sysroots/x86_64-linux/usr/bin/chrpath ../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd
../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd: RPATH=/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4:/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib
$ chrpath ../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd
`../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd' probably isn't a 64-bit LSB-first ELF file.
Usage: chrpath [-v|-d|-c|-r <path>] <program> [<program> ...]
with the path given
-l|--list List the current rpath/runpath (default)
-h|--help Show this usage information.
$ chrpath -v
chrpath version 0.13
$ tmp-eglibc/sysroots/x86_64-linux/usr/bin/chrpath -v
chrpath version 0.14
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* prefix was wrong, because SConstruct expects prefix usable as RPATH and DESTDIR
not DESTDIR/prefix combined together in prefix variable
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python-scons-native executes pkg-config with wrong environment and as result -I/usr/include/libusb-1.0 is returned
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* this is wrong, it's used as path where to install .pc files
and we expect them in not directly in sysroot
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Replace return with exit where appropriate.
Current init script uses return outside of functions resulting in
warnings such as the following when using bash as interpreter:
/etc/init.d/gpsd: line 98: return: can only `return' from a function or sourced script
Signed-off-by: Johan Hovold <johan.hovold@lundinova.se>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>