aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-03-08 15:42:37 -0800
committerJuro Bystricky <juro.bystricky@intel.com>2017-03-17 09:33:11 -0700
commit5dff4e936e319971a7ab0a1004fa9967f7158481 (patch)
treee91ee82c1b06fb19049edd46588f8fc110de2581
parent38238f8ea7c8096d91c5cda764be7c60bf7d32e5 (diff)
downloadmeta-zephyr-5dff4e936e319971a7ab0a1004fa9967f7158481.tar.gz
meta-zephyr-5dff4e936e319971a7ab0a1004fa9967f7158481.tar.bz2
meta-zephyr-5dff4e936e319971a7ab0a1004fa9967f7158481.zip
zephyr-kernel-ser_1.7.bb: pack Zephyr 1.7 sources
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
-rw-r--r--recipes-kernel/zephyr-kernel/zephyr-kernel-src_1.7.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src_1.7.bb b/recipes-kernel/zephyr-kernel/zephyr-kernel-src_1.7.bb
new file mode 100644
index 0000000..63610f3
--- /dev/null
+++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src_1.7.bb
@@ -0,0 +1,40 @@
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
+
+SRCREV = "3d2893cf85d51ceca04aa3bec2dd5fc77625ff81"
+SRC_URI = "git://gerrit.zephyrproject.org/r/zephyr.git;protocol=https;branch=v1.7-branch"
+SRC_URI += "file://Makefile.toolchain.yocto"
+
+PV = "1.7.0"
+
+S = "${WORKDIR}/git"
+
+IMAGE_NO_MANIFEST = "1"
+INHIBIT_DEFAULT_DEPS = "1"
+
+do_compile[noexec] = "1"
+
+do_configure() {
+ cp ${WORKDIR}/Makefile.toolchain.yocto ${S}/scripts
+}
+
+do_compile () {
+}
+
+
+do_install () {
+ kerneldir=${D}/usr/src/zephyr
+ install -d $kerneldir
+ cp -r ${S}/* $kerneldir
+}
+
+PACKAGES = "${PN}"
+FILES_${PN} = "/usr/src/zephyr"
+
+SYSROOT_DIRS += "/usr/src/zephyr"
+
+#WARNING: zephyr-kernel-src-1.7.0-r0 do_package_qa: QA Issue:
+# /usr/src/zephyr/scripts/checkpatch.pl contained in package zephyr-kernel-src
+# requires /usr/bin/perl, but no providers found in RDEPENDS_zephyr-kernel-src?
+INSANE_SKIP_${PN} = "file-rdeps"