Add recipe for gen-init-cpio native.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk Reviewed-by: Andrew Murray amurray@thegoodpenguin.co.uk --- .../gen-init-cpio/gen-init-cpio-native.bb | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-devtools/gen-init-cpio/gen-init-cpio-native.bb
diff --git a/recipes-devtools/gen-init-cpio/gen-init-cpio-native.bb b/recipes-devtools/gen-init-cpio/gen-init-cpio-native.bb new file mode 100644 index 0000000..5041b9d --- /dev/null +++ b/recipes-devtools/gen-init-cpio/gen-init-cpio-native.bb @@ -0,0 +1,34 @@ +inherit llvm-morello-native native + +SUMMARY = "Gen init cpio" +DESCRIPTION = "Gen init cpio" +HOMEPAGE = "http://llvm.org" +LICENSE = "GPL-2.0-only" + +OUTPUTS_NAME = "gen-init-cpio" +PROVIDES = "${OUTPUTS_NAME}-native" + +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" + +SRC_URI = " \ + git://git.morello-project.org/morello/kernel/linux;protocol=https;tag=${SRCTAG};branch=${SRCBRANCH} \ + " + +SRCBRANCH = "morello/master" +SRCTAG = "morello-release-1.5.0" + +S = "${WORKDIR}/git/usr" + +FILES:${PN} = "${bindir}/${OUTPUTS_NAME}" + +do_configure[noexec] = "1" + +do_compile(){ + mkdir -p ${B}/${OUTPUTS_NAME} + oe_runmake gen_init_cpio +} + +do_install(){ + install -d ${D}${bindir} + install -m 0744 ${S}/gen_init_cpio ${D}${bindir}/gen_init_cpio +} \ No newline at end of file