Adapted from the original patch submitted to meta-oe for swig 2.0.12.
OE-core commit 5870bd272b0b077d0826fb900b251884c1c05061 sabotaged the
binconfig way.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Updated from:
git://git.openembedded.org/meta-openembedded/meta-oe/recipes-devtools/swig
As of commit 1d536390dcafe4d539335dec2173aa9ddc3d8b51
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Native swig will read datas from hard-coded SWIGLIB or the same
environment variable.
While using sstate, the hard-coded SWIGLIB will point to the project
that create original sstates. This would cause build issues, so add
a wrapper to set the environment variable SWIGLIB to a relative path
on current sysroot.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
oe-core adds a exit handler to rw python command history file
(~/.python-history). There are no allow rules for every user&role
to use create/read/write ~/.python-history, and it is also
improper to add rules because these rules would blow up the
user&role's scope of authority.
So disable the handler, if selinux enabled.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
NOTE: package rpm-native-5.4.9-r44.1: task do_fetch: Started
ERROR: Error executing a python function in
.../meta/recipes-devtools/rpm/rpm_5.4.9.bb:
IOError: [Errno 2] No such file or directory:
'.../rpm-fix-build-bug.patch'
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Add swig recipe from meta-openembedded/meta-oe
as of commit: 2eb27e123b7a85453224f2c822d43f8572eec57a
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>