ti-softhsmv2: Use target includes for zlib and openssl
PATCH 1/1 ti-softhsmv2: Use target includes for zlib and openssl
ti-softhsmv2 needs to look at the target include directories instead of the host include directories for zlib and openssl header files.
--- recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +4 -1
@@ -21,7 +21,10 @@ S = "${WORKDIR}/git" CFLAGS += " -mno-unaligned-access" CPPFLAGS += " -mno-unaligned-access" -EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" +EXTRA_OECONF += " \ + --with-zlib=${STAGING_DIR_TARGET}/usr \ + --with-openssl=${STAGING_DIR_TARGET}/usr \ + " INITSCRIPT_NAME = "softhsm-daemon.sh" INITSCRIPT_PARAMS = "defaults 10"
Signature · 1 line
1.9.1
Quoted 19 lines · Paul Barker
ti-softhsmv2 needs to look at the target include directories instead of the host include directories for zlib and openssl header files.
Signed-off-by Paul Barker <[email protected]>---
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++-1 file changed, 4 insertions(+), 1 deletion(-)recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +0
-0@@ -21,7 +21,10 @@ S = "${WORKDIR}/git"CFLAGS += " -mno-unaligned-access"
CPPFLAGS += " -mno-unaligned-access"
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb S = "${WORKDIR}/git"
Quoted 5 lines
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +4
-1-EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" +EXTRA_OECONF += " \ + --with-zlib=${STAGING_DIR_TARGET}/usr \ + --with-openssl=${STAGING_DIR_TARGET}/usr \ + “
you know there is STAGING_EXECPREFIXDIR, may be better suited here ?
Quoted 11 lines
INITSCRIPT_NAME= "softhsm-daemon.sh"INITSCRIPT_PARAMS= "defaults 10"
--
1.9.1--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 19 lines · Khem Raj
Quoted 19 lines · Paul Barker
ti-softhsmv2 needs to look at the target include directories instead of the host include directories for zlib and openssl header files.
Signed-off-by Paul Barker <[email protected]>---
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++-1 file changed, 4 insertions(+), 1 deletion(-)recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +0
-0@@ -21,7 +21,10 @@ S = "${WORKDIR}/git"CFLAGS += " -mno-unaligned-access"
CPPFLAGS += " -mno-unaligned-access"
Quoted 7 lines
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb S = "${WORKDIR}/git"
Quoted 5 lines
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +4
-1-EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" +EXTRA_OECONF += " \ + --with-zlib=${STAGING_DIR_TARGET}/usr \ + --with-openssl=${STAGING_DIR_TARGET}/usr \ + “you know there is
STAGING_EXECPREFIXDIR, may be better suited here ?
From bitbake.conf:
STAGING_EXECPREFIXDIR = "${STAGING_DIR_HOST}${exec_prefix}"
Quoted 19 lines
Quoted 10 lines
INITSCRIPT_NAME= "softhsm-daemon.sh"INITSCRIPT_PARAMS= "defaults 10"
--
1.9.1--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-tiSignature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 30 lines · On Tue, 19 Jan 2016 14:13:01 -0500 Denys Dmytriyenko <[email protected]> wrote:
Quoted 21 lines · Khem Raj
Quoted 21 lines
On Jan 19, 2016, at 7:51 AM, Paul Barker
<[email protected]> wrote:ti-softhsmv2 needs to look at the target include directories instead of the host include directories for zlib and openssl header files.
Signed-off-by Paul Barker <[email protected]>---
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++-1 file changed, 4 insertions(+), 1 deletion(-)(quoted diff) +0
-0b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb index c1e1654..dd51309 100644 --- a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +++ b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb @@ -21,7 +21,10 @@ S = "${WORKDIR}/git" CFLAGS += " -mno-unaligned-access" CPPFLAGS += " -mno-unaligned-access"
Quoted 7 lines
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb S = "${WORKDIR}/git"
Quoted 5 lines
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +4
-1-EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" +EXTRA_OECONF += " \ + --with-zlib=${STAGING_DIR_TARGET}/usr \ + --with-openssl=${STAGING_DIR_TARGET}/usr \ + “you know there is
STAGING_EXECPREFIXDIR, may be better suited here ?
Quoted 4 lines
From bitbake.conf:
STAGING_EXECPREFIXDIR= "${STAGING_DIR_HOST}${exec_prefix}"
I've looked at bitbake.conf more clearly now:
STAGING_DIR_HOST = "${STAGING_DIR}/${MACHINE}"STAGING_DIR_TARGET = "${STAGING_DIR}/${MACHINE}"
So it actually doesn't matter which of these is used.
I'll send a V2 using STAGING_EXECPREFIXDIR for both zlib and openssl.
Thanks,
Signature · 2 lines
Paul Barker CommAgility Ltd