diff options
author | Jens Rehsack <rehsack@gmail.com> | 2020-08-21 11:52:55 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-21 16:35:25 -0700 |
commit | c79884d9b5f7df54f2472436ca4c62698818c9b3 (patch) | |
tree | 63f207801ce1fa17a44887d68901947d50d4d7aa /meta-networking/recipes-connectivity/bearssl | |
parent | e768f4369bc8353ae9bf654fd3e6fe2293ae178c (diff) | |
download | meta-openembedded-c79884d9b5f7df54f2472436ca4c62698818c9b3.tar.gz |
bearssl: fix missing install
Default Makefile of bearssl doesn't have a make target which hadn't
enough attraction when creating the recipe.
Add missing functionality.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/bearssl')
-rw-r--r-- | meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb b/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb index a0f64e933..74a876987 100644 --- a/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb +++ b/meta-networking/recipes-connectivity/bearssl/bearssl_0.6.bb | |||
@@ -18,6 +18,8 @@ HOMEPAGE = "https://bearssl.org" | |||
18 | 18 | ||
19 | SECTION = "libs" | 19 | SECTION = "libs" |
20 | 20 | ||
21 | inherit lib_package | ||
22 | |||
21 | LICENSE = "MIT" | 23 | LICENSE = "MIT" |
22 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fc37e1037ae673975fbcb96a98f7191" | 24 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fc37e1037ae673975fbcb96a98f7191" |
23 | 25 | ||
@@ -33,3 +35,11 @@ CFLAGS += "-fPIC" | |||
33 | 35 | ||
34 | S = "${WORKDIR}/git" | 36 | S = "${WORKDIR}/git" |
35 | B = "${S}" | 37 | B = "${S}" |
38 | |||
39 | do_install() { | ||
40 | mkdir -p ${D}/${bindir} ${D}/${libdir} | ||
41 | install -m 0644 ${B}/build/brssl ${D}/${bindir} | ||
42 | install -m 0644 ${B}/build/libbearssl.so ${D}/${libdir}/libbearssl.so.6.0.0 | ||
43 | ln -s libbearssl.so.6.0.0 ${D}/${libdir}/libbearssl.so.6 | ||
44 | ln -s libbearssl.so.6.0.0 ${D}/${libdir}/libbearssl.so | ||
45 | } | ||