diff options
| -rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq.inc | 12 | ||||
| -rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq.inc b/recipes-connectivity/openssl/openssl-qoriq.inc index ee02fb796..bcbf36f2b 100644 --- a/recipes-connectivity/openssl/openssl-qoriq.inc +++ b/recipes-connectivity/openssl/openssl-qoriq.inc | |||
| @@ -8,6 +8,17 @@ SECTION = "libs/network" | |||
| 8 | LICENSE = "openssl" | 8 | LICENSE = "openssl" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" |
| 10 | 10 | ||
| 11 | PROVIDES = "openssl" | ||
| 12 | |||
| 13 | python() { | ||
| 14 | pkgs = d.getVar('PACKAGES', True).split() | ||
| 15 | for p in pkgs: | ||
| 16 | if 'openssl-qoriq' in p: | ||
| 17 | d.appendVar("RPROVIDES_%s" % p, p.replace('openssl-qoriq', 'openssl')) | ||
| 18 | d.appendVar("RCONFLICTS_%s" % p, p.replace('openssl-qoriq', 'openssl')) | ||
| 19 | d.appendVar("RREPLACES_%s" % p, p.replace('openssl-qoriq', 'openssl')) | ||
| 20 | } | ||
| 21 | |||
| 11 | DEPENDS = "perl-native-runtime" | 22 | DEPENDS = "perl-native-runtime" |
| 12 | 23 | ||
| 13 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ | 24 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ |
| @@ -170,4 +181,3 @@ do_install () { | |||
| 170 | } | 181 | } |
| 171 | 182 | ||
| 172 | BBCLASSEXTEND = "native nativesdk" | 183 | BBCLASSEXTEND = "native nativesdk" |
| 173 | |||
diff --git a/recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb b/recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb index 16736fb94..3b9d56eb0 100644 --- a/recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb +++ b/recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb | |||
| @@ -10,8 +10,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" | |||
| 10 | export DIRS = "crypto ssl apps engines" | 10 | export DIRS = "crypto ssl apps engines" |
| 11 | export OE_LDFLAGS="${LDFLAGS}" | 11 | export OE_LDFLAGS="${LDFLAGS}" |
| 12 | 12 | ||
| 13 | PROVIDES = "openssl" | ||
| 14 | |||
| 15 | SRC_URI += "file://configure-targets.patch \ | 13 | SRC_URI += "file://configure-targets.patch \ |
| 16 | file://shared-libs.patch \ | 14 | file://shared-libs.patch \ |
| 17 | file://oe-ldflags.patch \ | 15 | file://oe-ldflags.patch \ |
