udev/{acl,attr}: Fix install. Wanted to install to host /usr/bin/.
authorLeon Woestenberg <leon@sidebranch.com>
Mon, 14 Jun 2010 20:12:34 +0000 (22:12 +0200)
committerLeon Woestenberg <leon@sidebranch.com>
Wed, 16 Jun 2010 20:50:14 +0000 (22:50 +0200)
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>
recipes/udev/acl_2.2.49.bb
recipes/udev/attr_2.4.44.bb

index aeec494..027a8c6 100644 (file)
@@ -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
 
index ee48693..c2054d1 100644 (file)
@@ -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