Added new cmake version
[PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb [PATCH 2/2] replace sdk -> nativesdk
Thanks
PATCH 1/2 add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
--- recipes/cmake/cmake-sdk_2.8.1.bb | 5 ----- recipes/cmake/cmake.inc | 2 ++ recipes/cmake/cmake_2.8.1.bb | 11 +++++++++++ 3 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 recipes/cmake/cmake-sdk_2.8.1.bb create mode 100644 recipes/cmake/cmake_2.8.1.bb
recipes/cmake/cmake-sdk_2.8.1.bb deleted +0 -5
@@ -1,5 +0,0 @@ -inherit sdk -require cmake.inc - -SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725" -SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
recipes/cmake/cmake.inc +2 -0
@@ -10,6 +10,8 @@ PR = "r3" CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz" +BBCLASSEXTEND = "native sdk" + inherit autotools S = "${WORKDIR}/cmake-${PV}"
recipes/cmake/cmake_2.8.1.bb new file +11 -0
@@ -0,0 +1,11 @@ +require cmake.inc + +#inherit cmake + +do_configure_append() { + sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt +} + + +SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725" +SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
Signature · 1 line
1.7.0.2
Re: [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Does 'bitbake cmake' work with this version?
Quoted 39 lines · Joao H. Freitas
--- recipes/cmake/cmake-sdk_2.8.1.bb | 5 ----- recipes/cmake/cmake.inc | 2 ++ recipes/cmake/cmake_2.8.1.bb | 11 +++++++++++ 3 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 recipes/cmake/cmake-sdk_2.8.1.bb create mode 100644 recipes/cmake/cmake_2.8.1.bbrecipes/cmake/cmake-sdk_2.8.1.bb deleted +0
-5@@ -1,5 +0,0 @@ -inherit sdk -require cmake.inc - -SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725" -SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"recipes/cmake/cmake.inc +2
-0@@ -10,6 +10,8 @@ PR = "r3" CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz" +BBCLASSEXTEND = "native sdk" + inherit autotools S = "${WORKDIR}/cmake-${PV}"recipes/cmake/cmake_2.8.1.bb new file +1
-0@@ -0,0 +1,11 @@ +require cmake.inc
recipes/cmake/cmake_2.8.1.bb line 11
Quoted 10 lines
recipes/cmake/cmake_2.8.1.bb new file +10
-0+ +#inherit cmake + +do_configure_append() { + sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt +} + + +SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725" +SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD4DBQFMKupfMkyGM64RGpERAoW2AJih+hEVyZFaQ0aPs9UYbrxarQ6HAJ9tr/Jl QtcrDrBnCAUlWTMJJVGpJw==
=SRkX
-----END PGP SIGNATURE-----
Re: [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
Hi,
I think 'bitbake cmake' will not run if the host can't run the 'cmake' binary.
cmake is a tool wich is not to be cross compiled but cmake can be used to cross compile programs.
Signature · 6 lines
----------------------------------------------------------- João Henrique Freitas - joaohf_at_gmail.com Campinas-SP-Brasil BSD051283 LPI 1 http://www.joaohfreitas.eti.br
PATCH 2/2 replace sdk -> nativesdk
In reply to Joao H. Freitas--- recipes/cmake/cmake.inc | 2 +- recipes/cmake/cmake_2.8.1.bb | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-)
recipes/cmake/cmake.inc +1 -1
@@ -10,7 +10,7 @@ PR = "r3" CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz" -BBCLASSEXTEND = "native sdk" +BBCLASSEXTEND = "native nativesdk" inherit autotools
recipes/cmake/cmake_2.8.1.bb +0 -2
@@ -1,7 +1,5 @@ require cmake.inc -#inherit cmake - do_configure_append() { sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt }
Signature · 1 line
1.7.0.2
Re: [PATCH 2/2] replace sdk -> nativesdk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Martin and I chatted about nativesdk a bit last week and after rereading the email thread it seems that 'nativesdk' and 'sdk' should coexist for awhile, so have both in BBCLASSEXTENDS?
regards,
Koen
Quoted 23 lines · Joao H. Freitas
--- recipes/cmake/cmake.inc | 2 +- recipes/cmake/cmake_2.8.1.bb | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-)recipes/cmake/cmake.inc +1
-1@@ -10,7 +10,7 @@ PR = "r3" CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz" -BBCLASSEXTEND = "native sdk" +BBCLASSEXTEND = "native nativesdk" inherit autotoolsrecipes/cmake/cmake_2.8.1.bb +0
-0
recipes/cmake/cmake_2.8.1.bb line 5
Quoted 7 lines
recipes/cmake/cmake_2.8.1.bb +0
-2@@ -1,7 +1,5 @@ require cmake.inc -#inherit cmake - do_configure_append() { sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt }
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMKuogMkyGM64RGpERAvN7AKCEvgfnOi0yyFdM4TlIUMRURRCz/QCfe8TF ZqNPtfxlSkMEMv8DajxRUCk=
=4FWY
-----END PGP SIGNATURE-----
Re: [PATCH 2/2] replace sdk -> nativesdk
2010/6/30 Koen Kooi <[email protected]>:
Quoted 8 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
Martin and I chatted about nativesdk a bit last week and after rereading the email thread it seems that 'nativesdk' and 'sdk' should coexist for awhile, so have both in BBCLASSEXTENDS?
Care to share the rationale for this?
Wrt the BBCLASSEXTEND:
if we have
BBCLASSEXTEND = "native sdk"
should that imply we also get native_sdk (or sdk_native or something like that) (so do they extend each other), or should things like nativesdk be mentioned explicitly?
Frans.
Quoted 51 lines
regards,
Koen
Quoted 27 lines · Joao H. Freitas
---
recipes/cmake/cmake.inc | 2 +-
recipes/cmake/cmake_2.8.1.bb | 2 --2 files changed, 1 insertions(+), 3 deletions(-)recipes/cmake/cmake.inc +0
-0@@ -10,7 +10,7 @@ PR = "r3"CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI= "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"recipes/cmake/cmake.inc +1
-1-BBCLASSEXTEND = "native sdk" +BBCLASSEXTEND = "native nativesdk"inherit autotools
recipes/cmake/cmake_2.8.1.bb +0
-0@@ -1,7 +1,5 @@require cmake.inc
recipes/cmake/cmake_2.8.1.bb +0
-2-#inherit cmake -Quoted 3 lines
do_configure_append() {
sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt }-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFMKuogMkyGM64RGpERAvN7AKCEvgfnOi0yyFdM4TlIUMRURRCz/QCfe8TF ZqNPtfxlSkMEMv8DajxRUCk=
=4FWY
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH 2/2] replace sdk -> nativesdk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 15 lines · Frans Meulenbroeks
2010/6/30 Koen Kooi <[email protected]>:
Hi,Martin and I chatted about nativesdk a bit last week and after rereading the email thread it seems that 'nativesdk' and 'sdk' should coexist for awhile, so have both in BBCLASSEXTENDS?
Quoted 8 lines
Care to share the rationale for this?
Wrt the BBCLASSEXTEND:
if we have
BBCLASSEXTEND = "native sdk"
should that imply we also getnative_sdk(orsdk_nativeor something like that) (so do they extend each other), or should things like nativesdk be mentioned explicitly?
You misunderstands how bbclass extend works, it just adds an 'inherit <foo>' for each entry, it doesn't combine entries. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMKwUsMkyGM64RGpERAiRfAJ9mccFByrea0a7RrKC7n6w903liUQCgqq9f nQdQZPOsIotHD6ym9FWvYHk=
=qEEI
-----END PGP SIGNATURE-----
Re: [PATCH 2/2] replace sdk -> nativesdk
In reply to Koen KooiQuoted 8 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
Martin and I chatted about nativesdk a bit last week and after rereading the email thread it seems that 'nativesdk' and 'sdk' should coexist for awhile, so have both in BBCLASSEXTENDS?
Just to explain why I kept only nativesdk in ie libx11 is, that old sdk doesn't support _virtclass-sdk overrides like nativesdk does and lack of libxcb-sdk forced me to override it for sdk in libx11.inc.
Override for _virtclass-normal would help me too, but that was IIRC also proposed a while ago.
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]