From 209dc3e6490f710a6ce762cdfeba9b253fe51dc5 Mon Sep 17 00:00:00 2001
From: Wojciech Zmuda <wojciech.zmuda@huawei.com>
Date: Fri, 12 Feb 2021 16:15:57 +0000
Subject: [PATCH] zephyr: remove superfluous DEPLOY_DIR_IMAGE

Explicitly setting `DEPLOY_DIR_IMAGE` is not needed, since we have
`TEMPLATECONF`.
Setting `TEMPLATECONF` on the `source` step makes both `bitbake` and
`runqemu` steps share the same `DISTRO` setting, which sets
`DEPLOY_DIR_IMAGE` properly. Remove it from readme and conf-notes shown
after sourcing the env.

Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com>
---
 README.md                      | 2 +-
 flavours/zephyr/conf-notes.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index a89d4bd7..968c49dc 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,7 @@ Example:
 
 You can test the image built for the qemu-x86 target by issuing:
 
-    $ DEPLOY_DIR_IMAGE=tmp-newlib/deploy/images/qemu-x86 runqemu qemu-x86
+    $ runqemu qemu-x86
 
 After successful bootup, you should see following:
 
diff --git a/flavours/zephyr/conf-notes.txt b/flavours/zephyr/conf-notes.txt
index 96210cdb..52aabe85 100644
--- a/flavours/zephyr/conf-notes.txt
+++ b/flavours/zephyr/conf-notes.txt
@@ -14,5 +14,5 @@ or via command line, e.g.:
 
 You can also run generated qemu images with a command:
 
-    $ DEPLOY_DIR_IMAGE=tmp-newlib/deploy/images/qemu-x86 runqemu qemux86
+    $ runqemu qemux86
 
-- 
GitLab