quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for native
A issue was fixed in target recipe with commit: 95893404 [ quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARS On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] Signed-off-by: Saul Wold <sgw@linux.intel.com> ] But it's also impacting native package in the case that the sstate is used between Fedora 17(or later) and other hosts. (From OE-Core rev: 34bd53c657f82a402723fcf2640b0511a68b6af5) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
81325a412b
commit
e54c1ad651
|
@ -31,6 +31,8 @@ RDEPENDS_${PN} = "bash"
|
||||||
EXTRA_OE_MAKE_ARGS_darwin ?= ""
|
EXTRA_OE_MAKE_ARGS_darwin ?= ""
|
||||||
EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}"
|
EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}"
|
||||||
|
|
||||||
|
CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash"
|
||||||
|
|
||||||
# quilt ignores DESTDIR
|
# quilt ignores DESTDIR
|
||||||
do_install () {
|
do_install () {
|
||||||
oe_runmake ${EXTRA_OE_MAKE_ARGS} install
|
oe_runmake ${EXTRA_OE_MAKE_ARGS} install
|
||||||
|
|
|
@ -5,8 +5,6 @@ SRC_URI += "file://aclocal.patch \
|
||||||
file://gnu_patch_test_fix_target.patch \
|
file://gnu_patch_test_fix_target.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
CACHED_CONFIGUREVARS += "ac_cv_path_BASH=${base_bindir}/bash"
|
|
||||||
|
|
||||||
# fix build-distro specific perl path in the target perl scripts
|
# fix build-distro specific perl path in the target perl scripts
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards
|
for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards
|
||||||
|
|
Loading…
Reference in New Issue