commit
def852094f
|
@ -57,6 +57,7 @@ After installing your build's Yocto/OpenEmbedded components:
|
||||||
$ bitbake wolfssh
|
$ bitbake wolfssh
|
||||||
$ bitbake wolfmqtt
|
$ bitbake wolfmqtt
|
||||||
$ bitbake wolftpm
|
$ bitbake wolftpm
|
||||||
|
$ bitbake wolfclu
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Edit your build's local.conf file to install the libraries you would like
|
2. Edit your build's local.conf file to install the libraries you would like
|
||||||
|
@ -64,11 +65,12 @@ After installing your build's Yocto/OpenEmbedded components:
|
||||||
IMAGE_INSTALL_append line:
|
IMAGE_INSTALL_append line:
|
||||||
|
|
||||||
```
|
```
|
||||||
IMAGE_INSTALL_append = "wolfssl wolfssh wolfmqtt wolftpm"
|
IMAGE_INSTALL_append = "wolfssl wolfssh wolfmqtt wolftpm wolfclu"
|
||||||
```
|
```
|
||||||
|
|
||||||
Once your image has been built, the default location for the wolfSSL library
|
Once your image has been built, the default location for the wolfSSL library
|
||||||
on your machine will be in the "/usr/lib" directory.
|
on your machine will be in the "/usr/lib" directory and applications in
|
||||||
|
"/usr/bin".
|
||||||
|
|
||||||
Note: If you need to install the development headers for these libraries, you
|
Note: If you need to install the development headers for these libraries, you
|
||||||
will want to use the "-dev" variant of the package. For example, to install
|
will want to use the "-dev" variant of the package. For example, to install
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
SUMMARY = "wolfCLU is a command line utility with wolfSSL"
|
||||||
|
DESCRIPTION = "wolfCLU is a lightweight command line utility written in C and \
|
||||||
|
optimized for embedded and RTOS environments."
|
||||||
|
HOMEPAGE = "https://www.wolfssl.com/products/wolfclu"
|
||||||
|
BUGTRACKER = "https://github.com/wolfssl/wolfclu/issues"
|
||||||
|
SECTION = "bin"
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||||
|
|
||||||
|
PROVIDES += "wolfclu"
|
||||||
|
RPROVIDES_${PN} = "wolfclu"
|
||||||
|
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||||
|
|
||||||
|
DEPENDS += "wolfssl"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/wolfssl/wolfclu.git;nobranch=1;protocol=https;tag=v${PV}-stable;"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
|
EXTRA_OECONF = "--with-wolfssl=${COMPONENTS_DIR}/${PACKAGE_ARCH}/wolfssl/usr"
|
||||||
|
|
||||||
|
BBCLASSEXTEND += "native nativesdk"
|
||||||
|
|
||||||
|
do_configure_prepend() {
|
||||||
|
(cd ${S}; ./autogen.sh; cd -)
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
EXTRA_OECONF += "--enable-wolfclu"
|
||||||
|
|
Loading…
Reference in New Issue