[oe-commits] org.oe.dev openssl: Use the new siteinfo stuff to determine the endianess and set the
lenehan commit
openembedded-commits at lists.openembedded.org
Thu Nov 16 03:28:23 UTC 2006
openssl: Use the new siteinfo stuff to determine the endianess and set the
appropriate flag rather then manually processing the site file contents to
do this.
Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: a86f3c5c648812812c62ae83367db2a5dd9801c6
ViewMTN: http://monotone.openembedded.org/revision.psp?id=a86f3c5c648812812c62ae83367db2a5dd9801c6
Files:
1
packages/openssl/openssl.inc
packages/openssl/openssl_0.9.7e.bb
packages/openssl/openssl_0.9.7g.bb
Diffs:
#
# mt diff -r2948284ef0f268a48cefc03bdd325df3614b7fd3 -ra86f3c5c648812812c62ae83367db2a5dd9801c6
#
#
#
# patch "packages/openssl/openssl.inc"
# from [28308b5de0b5907787dc30bae1dadbe79dfcde33]
# to [ecac19f4292d3a0b83da05b138e97c82fcd08c70]
#
# patch "packages/openssl/openssl_0.9.7e.bb"
# from [22a3261e9b227b75284527484081c50ce7319b81]
# to [29e889878a4b6ed9bd2d5eb73dc10d031d6f6e67]
#
# patch "packages/openssl/openssl_0.9.7g.bb"
# from [72621890807562ad248822ab5a020f5668c63919]
# to [fc88c6459ea32426509582986fa97cccbc4c2f42]
#
============================================================
--- packages/openssl/openssl.inc 28308b5de0b5907787dc30bae1dadbe79dfcde33
+++ packages/openssl/openssl.inc ecac19f4292d3a0b83da05b138e97c82fcd08c70
@@ -27,15 +27,8 @@ do_compile () {
cd ..
ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/
- # endianness fun.. whee
- . ${CONFIG_SITE}
- if [ "x$ac_cv_c_bigendian" = "xyes" -o "x$ac_cv_c_littleendian" = "xno" ]; then
- CFLAG="${CFLAG} -DB_ENDIAN"
- elif [ "x$ac_cv_c_littleendian" = "xyes" -o "x$ac_cv_c_bigendian" = "xno" ]; then
- CFLAG="${CFLAG} -DL_ENDIAN"
- else
- oefatal do_configure cannot determine endianess
- fi
+ # Additional flag based on target endiness (see siteinfo.bbclass)
+ CFLAG="${CFLAG} ${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)}"
os=${HOST_OS}
if [ "x$os" = "xlinux-uclibc" ]; then
============================================================
--- packages/openssl/openssl_0.9.7e.bb 22a3261e9b227b75284527484081c50ce7319b81
+++ packages/openssl/openssl_0.9.7e.bb 29e889878a4b6ed9bd2d5eb73dc10d031d6f6e67
@@ -1,6 +1,6 @@ require openssl.inc
require openssl.inc
-PR = "r3"
+PR = "r4"
SRC_URI += "file://debian.patch;patch=1 \
file://armeb.patch;patch=1 \
============================================================
--- packages/openssl/openssl_0.9.7g.bb 72621890807562ad248822ab5a020f5668c63919
+++ packages/openssl/openssl_0.9.7g.bb fc88c6459ea32426509582986fa97cccbc4c2f42
@@ -1,8 +1,8 @@ require openssl.inc
inherit pkgconfig
require openssl.inc
-PR = "r1"
+PR = "r2"
SRC_URI += "file://debian.patch;patch=1 \
file://armeb.patch;patch=1;pnum=0 \
More information about the Openembedded-commits
mailing list