Patchwork dtc.inc: fix for libdir == /usr/lib64

login
register
mail settings
Submitter Matthew McClintock
Date July 11, 2012, 2:29 a.m.
Message ID <1341973780-4638-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/31731/
State Accepted
Commit b60579e66601ba60669a9e1194409fcd8b80530e
Headers show

Comments

Matthew McClintock - July 11, 2012, 2:29 a.m.
On 64bit systems dtc will still install libaries in /usr/lib
unless we havet this override

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/recipes-kernel/dtc/dtc.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - July 11, 2012, 10:32 a.m.
On Tue, 2012-07-10 at 21:29 -0500, Matthew McClintock wrote:
> On 64bit systems dtc will still install libaries in /usr/lib
> unless we havet this override
> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  meta/recipes-kernel/dtc/dtc.inc |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
> index fab91dc..18847c6 100644
> --- a/meta/recipes-kernel/dtc/dtc.inc
> +++ b/meta/recipes-kernel/dtc/dtc.inc
> @@ -10,8 +10,8 @@ SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \
>             file://make_install.patch \
>  	  "
>  

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
index fab91dc..18847c6 100644
--- a/meta/recipes-kernel/dtc/dtc.inc
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -10,8 +10,8 @@  SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \
            file://make_install.patch \
 	  "
 
-EXTRA_OEMAKE='PREFIX="${prefix}"'
-INC_PR = "r2"
+EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"'
+INC_PR = "r3"
 
 S = "${WORKDIR}/git"