aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2010-06-14 22:12:34 +0200
committerLeon Woestenberg <leon@sidebranch.com>2010-06-16 22:50:14 +0200
commit68651a6c434c4ad437c34c1ee8532f7e07154ec4 (patch)
tree7c85ae990d8b28d6cf74eaece412069ed164c531
parent197acb9de5f0404049a1f4da97d3085ba27cb910 (diff)
downloadopenembedded-68651a6c434c4ad437c34c1ee8532f7e07154ec4.tar.gz
udev/{acl,attr}: Fix install. Wanted to install to host /usr/bin/.
The subdirectory Makefile includes a file, that overrides the variables inherited from the parent Makefile. Those where provided to the parent make through '-e'. Make sure the subdir makes also use '-e'. (An alternative fix is to sed the include file.) Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
-rw-r--r--recipes/udev/acl_2.2.49.bb2
-rw-r--r--recipes/udev/attr_2.4.44.bb2
2 files changed, 4 insertions, 0 deletions
diff --git a/recipes/udev/acl_2.2.49.bb b/recipes/udev/acl_2.2.49.bb
index aeec4942e8..027a8c62fb 100644
--- a/recipes/udev/acl_2.2.49.bb
+++ b/recipes/udev/acl_2.2.49.bb
@@ -30,6 +30,8 @@ do_install() {
export PKG_MAN_DIR=${D}${mandir}
export PKG_DOC_DIR=${D}${datadir}/doc/acl
export PKG_LOCALE_DIR=${D}${datadir}/locale
+ # ensure the subdir Makefile do not use the (wrong) variable overrides from the include file
+ export MAKE="${MAKE} -e"
oe_runmake -e install install-dev install-lib
diff --git a/recipes/udev/attr_2.4.44.bb b/recipes/udev/attr_2.4.44.bb
index ee48693243..c2054d18a8 100644
--- a/recipes/udev/attr_2.4.44.bb
+++ b/recipes/udev/attr_2.4.44.bb
@@ -30,6 +30,8 @@ do_install() {
export PKG_MAN_DIR=${D}${mandir}
export PKG_DOC_DIR=${D}${datadir}/doc/attr
export PKG_LOCALE_DIR=${D}${datadir}/locale
+ # ensure the subdir Makefile do not use the (wrong) variable overrides from the include file
+ export MAKE="${MAKE} -e"
oe_runmake -e install install-dev install-lib