slimboot-tools: add support for slimbootloader tools

add the recipe file to install the Slim Bootloader host tools which can
generate the container images in a binary file format understood by Slim
Bootloader to load and initialize Operating Systems or Hypervisors.

Signed-off-by: "Yong, Jonathan" <jonathan.yong@intel.com>
Signed-off-by: "Nishioka, Toshiki" <toshiki.nishioka@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Nishioka, Toshiki 2020-08-13 02:01:50 +09:00 committed by Anuj Mittal
parent 6d1ad9aa7e
commit 1800273ed7

View File

@ -0,0 +1,22 @@
SUMMARY = "Slim Bootloader Host Tools"
DESCRIPTION = "Native host tools to generate the container images in a \
binary file format understood by Slim Bootloader to load and initialize\
Operating Systems or Hypervisors."
HOMEPAGE = "https://slimbootloader.github.io/tools/index.html"
SRC_URI = "git://github.com/slimbootloader/slimbootloader;protocol=https"
SRCREV = "9f146afd47e0ca204521826a583d55388850b216"
PV = "0.0.0+git${SRCPV}"
LICENSE = "BSD-2-Clause-Patent"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d1ed89007e7aa232a4dc1c59b6c9efc4"
S = "${WORKDIR}/git"
inherit python3native
BBCLASSEXTEND = "native"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
install -m 755 -d ${D}${libexecdir}/slimboot/Tools
install -m 755 ${S}/BootloaderCorePkg/Tools/*.py ${D}${libexecdir}/slimboot/Tools
}