diff options
author | Qing He <qing.he@intel.com> | 2011-02-17 15:16:02 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-02-17 17:25:22 -0800 |
commit | 3810796ee371c8b1548f5ba75ff55299f37d0254 (patch) | |
tree | 5961b4a798541fa983cc0bed07273c52a36abed4 /meta/recipes-connectivity | |
parent | c35d91062f557d46625eb471cf1edf2c4d95b1b8 (diff) | |
download | poky-3810796ee371c8b1548f5ba75ff55299f37d0254.tar.gz |
openssl: fix parallel make
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-connectivity')
3 files changed, 22 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl-0.9.8p/parallel-make-fix.patch b/meta/recipes-connectivity/openssl/openssl-0.9.8p/parallel-make-fix.patch new file mode 100644 index 0000000000..60fab9d4a9 --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl-0.9.8p/parallel-make-fix.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | fix the parallel build regarding shared libraries. | ||
2 | |||
3 | Signed-off-by: Qing He <qing.he@intel.com> | ||
4 | |||
5 | diff --git a/Makefile.org b/Makefile.org | ||
6 | index 2fb0309..8bec3d0 100644 | ||
7 | --- a/Makefile.org | ||
8 | +++ b/Makefile.org | ||
9 | @@ -352,6 +352,9 @@ all_testapps: build_libs build_testapps | ||
10 | build_testapps: | ||
11 | @dir=crypto; target=testapps; $(BUILD_ONE_CMD) | ||
12 | |||
13 | +libcrypto.a: build_crypto | ||
14 | +libssl.a: build_ssl | ||
15 | + | ||
16 | build_shared: $(SHARED_LIBS) | ||
17 | libcrypto$(SHLIB_EXT): libcrypto.a $(SHARED_FIPS) | ||
18 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | ||
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index f054c26ca6..68b3d7bd0a 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc | |||
@@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=83d26c69f6f0172ee7f795790424b453" | |||
10 | 10 | ||
11 | DEPENDS = "perl-native" | 11 | DEPENDS = "perl-native" |
12 | 12 | ||
13 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz" | 13 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ |
14 | file://parallel-make-fix.patch \ | ||
15 | " | ||
14 | S = "${WORKDIR}/openssl-${PV}" | 16 | S = "${WORKDIR}/openssl-${PV}" |
15 | 17 | ||
16 | AR_append = " r" | 18 | AR_append = " r" |
@@ -29,8 +31,6 @@ export DIRS = "crypto ssl apps" | |||
29 | export EX_LIBS = "-lgcc -ldl" | 31 | export EX_LIBS = "-lgcc -ldl" |
30 | export AS = "${CC} -c" | 32 | export AS = "${CC} -c" |
31 | 33 | ||
32 | PARALLEL_MAKE = "" | ||
33 | |||
34 | inherit pkgconfig siteinfo | 34 | inherit pkgconfig siteinfo |
35 | 35 | ||
36 | PACKAGES =+ "libcrypto libssl" | 36 | PACKAGES =+ "libcrypto libssl" |
diff --git a/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb b/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb index 283b82add0..f42b3cbf6b 100644 --- a/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb +++ b/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require openssl.inc | 1 | require openssl.inc |
2 | 2 | ||
3 | PR = "r2" | 3 | PR = "r3" |
4 | SRC_URI += "file://debian/ca.patch \ | 4 | SRC_URI += "file://debian/ca.patch \ |
5 | file://debian/config-hurd.patch;apply=no \ | 5 | file://debian/config-hurd.patch;apply=no \ |
6 | file://debian/debian-targets.patch \ | 6 | file://debian/debian-targets.patch \ |