Skip to contentSkip to conversation

udev/{acl, attr}: Fix install. Wanted to install to host /usr/bin/.

PATCH In review Leon Woestenberg 3 participants 3 messages Jun 14, 2010 – Jun 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.)

---
 recipes/udev/acl_2.2.49.bb  |    2 ++
 recipes/udev/attr_2.4.44.bb |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
recipes/udev/acl_2.2.49.bb +2 -0
index aeec494..027a8c6 100644
@@ -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
 
recipes/udev/attr_2.4.44.bb +2 -0
index ee48693..c2054d1 100644
@@ -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
 
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 6 lines · Leon Woestenberg

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'.

Works here!

Acked-by on v1 1/1
#2 lore raw
In reply to Leon Woestenberg
Quoted 9 lines · Leon Woestenberg

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.)

Quoted 40 lines

---
 recipes/udev/acl_2.2.49.bb  |    2 ++
 recipes/udev/attr_2.4.44.bb |    2 ++

 2 files changed, 4 insertions(+), 0 deletions(-)
recipes/udev/acl_2.2.49.bb +0 -0
index aeec494..027a8c6 100644
@@ -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

recipes/udev/attr_2.4.44.bb +0 -0
index ee48693..c2054d1 100644
@@ -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

--
1.6.3.3

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel