Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Leon Woestenberg <leon.woestenberg@gmail.com>
To: openembedded-devel@lists.openembedded.org
To: Leon Woestenberg <leon@sidebranch.com>
Subject: [PATCH] udev/{acl, attr}: Fix install. Wanted to install to host /usr/bin/.
Date: Mon, 14 Jun 2010 22:12:34 +0200	[thread overview]
Message-ID: <4c168f9c.02afcc0a.1a9e.7e1c@mx.google.com> (raw)

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  |    2 ++
 recipes/udev/attr_2.4.44.bb |    2 ++
 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 aeec494..027a8c6 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 ee48693..c2054d1 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
 
-- 
1.6.3.3




             reply	other threads:[~2010-06-14 20:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 20:12 Leon Woestenberg [this message]
2010-06-15  7:25 ` [PATCH] udev/{acl, attr}: Fix install. Wanted to install to host /usr/bin/ Henri Bragge
2010-06-16 17:58 ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4c168f9c.02afcc0a.1a9e.7e1c@mx.google.com \
    --to=leon.woestenberg@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox