* [PATCH 0/1] slang: export INST_LIB_DIR to fix compile problems
@ 2011-03-15 5:36 Kang Kai
0 siblings, 0 replies; 4+ messages in thread
From: Kang Kai @ 2011-03-15 5:36 UTC (permalink / raw)
To: sgw; +Cc: poky
From: Kang Kai <kai.kang@windriver.com>
Hi Soul,
I have amend slang patch according to your demand, and resend it.
Thank you!
When bitbake slang/slsh, it links to building machine's libraries by using INST_LIB_DIR.
Export INST_LIB_DIR in do_install to fix the cross compile problems.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kangkai/distro01
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/distro01
Thanks,
Kang Kai <kai.kang@windriver.com>
---
Kang Kai (1):
slang: export INST_LIB_DIR to fix compile problems
meta/recipes-extended/slang/slang_2.2.2.bb | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/1] slang: export INST_LIB_DIR to fix compile problems
@ 2011-03-16 7:06 Kang Kai
2011-03-16 7:06 ` [PATCH 1/1] " Kang Kai
2011-03-16 13:45 ` [PATCH 0/1] " Richard Purdie
0 siblings, 2 replies; 4+ messages in thread
From: Kang Kai @ 2011-03-16 7:06 UTC (permalink / raw)
To: sgw; +Cc: poky
From: Kang Kai <kai.kang@windriver.com>
Hi Soul,
Thanks for your meticulous help, please help me to check it again.
Thanks you!
When bitbake slang/slsh, it links to building machine's libraries by using INST_LIB_DIR.
Export INST_LIB_DIR in do_install to fix the cross compile problems.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kangkai/distro01
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/distro01
Thanks,
Kang Kai <kai.kang@windriver.com>
---
Kang Kai (1):
slang: export INST_LIB_DIR to fix compile problems
meta/recipes-extended/slang/slang_2.2.2.bb | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] slang: export INST_LIB_DIR to fix compile problems
2011-03-16 7:06 [PATCH 0/1] slang: export INST_LIB_DIR to fix compile problems Kang Kai
@ 2011-03-16 7:06 ` Kang Kai
2011-03-16 13:45 ` [PATCH 0/1] " Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Kang Kai @ 2011-03-16 7:06 UTC (permalink / raw)
To: sgw; +Cc: poky
From: Kang Kai <kai.kang@windriver.com>
Export "INST_LIB_DIR" in do_install to slang/slsh to fix cross compile warnings
Fixes [YOCTO #812]
Add necessary files to run slsh.
Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
meta/recipes-extended/slang/slang_2.2.2.bb | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-extended/slang/slang_2.2.2.bb b/meta/recipes-extended/slang/slang_2.2.2.bb
index 7fe76af..f77a946 100644
--- a/meta/recipes-extended/slang/slang_2.2.2.bb
+++ b/meta/recipes-extended/slang/slang_2.2.2.bb
@@ -10,7 +10,7 @@ to recode S-Lang procedures in C if you need to."
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "pcre"
-PR = "r0"
+PR = "r1"
LICENSE = "GPL Artistic"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
@@ -23,3 +23,9 @@ inherit autotools
SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03"
SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42"
+
+do_install() {
+ oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib'
+}
+
+FILES_${PN} += "${datadir}/slsh/"
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] slang: export INST_LIB_DIR to fix compile problems
2011-03-16 7:06 [PATCH 0/1] slang: export INST_LIB_DIR to fix compile problems Kang Kai
2011-03-16 7:06 ` [PATCH 1/1] " Kang Kai
@ 2011-03-16 13:45 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-03-16 13:45 UTC (permalink / raw)
To: Kang Kai; +Cc: poky
On Wed, 2011-03-16 at 15:06 +0800, Kang Kai wrote:
> From: Kang Kai <kai.kang@windriver.com>
>
> Hi Soul,
>
> Thanks for your meticulous help, please help me to check it again.
> Thanks you!
>
> When bitbake slang/slsh, it links to building machine's libraries by using INST_LIB_DIR.
> Export INST_LIB_DIR in do_install to fix the cross compile problems.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: kangkai/distro01
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/distro01
>
> Thanks,
> Kang Kai <kai.kang@windriver.com>
> ---
>
>
> Kang Kai (1):
> slang: export INST_LIB_DIR to fix compile problems
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-16 13:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 7:06 [PATCH 0/1] slang: export INST_LIB_DIR to fix compile problems Kang Kai
2011-03-16 7:06 ` [PATCH 1/1] " Kang Kai
2011-03-16 13:45 ` [PATCH 0/1] " Richard Purdie
-- strict thread matches above, loose matches on Subject: below --
2011-03-15 5:36 Kang Kai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.