aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2019-12-02 19:08:49 +0800
committerNaveen Saini <naveen.kumar.saini@intel.com>2019-12-09 13:08:38 +0800
commitfca20d945dcde14b53cd4440a28081d3162ca3e3 (patch)
treeb7c0ee56b3025799e520f981cd4f18dd6da5dc7a
parentc9feff379936bc291c1aece6b924d77534c92782 (diff)
downloadmeta-zephyr-fca20d945dcde14b53cd4440a28081d3162ca3e3.tar.gz
meta-zephyr-fca20d945dcde14b53cd4440a28081d3162ca3e3.tar.bz2
meta-zephyr-fca20d945dcde14b53cd4440a28081d3162ca3e3.zip
zephyr-philosophers: update recipe to build against v2.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--recipes-kernel/zephyr-kernel/zephyr-philosophers.bb10
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
index 425bebb..b8262ca 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
+++ b/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb
@@ -4,15 +4,11 @@ inherit deploy
ZEPHYR_SRC_DIR = "${S}/samples/philosophers"
ZEPHYR_BASE = "${S}"
-
-do_compile () {
- cd ${ZEPHYR_SRC_DIR}
- oe_runmake ${ZEPHYR_MAKE_ARGS}
-}
+OECMAKE_SOURCEPATH = "${ZEPHYR_SRC_DIR}"
do_deploy () {
- install -D samples/philosophers/outdir/${BOARD}/zephyr.elf ${DEPLOYDIR}/${PN}.elf
- install -D samples/philosophers/outdir/${BOARD}/zephyr.bin ${DEPLOYDIR}/${PN}.bin
+ install -D ${B}/zephyr/${ZEPHYR_MAKE_OUTPUT} ${DEPLOYDIR}/${PN}.elf
}
addtask deploy after do_compile
+do_install[noexec] = "1"