From: Denys Dmytriyenko <[email protected]>

>From Dora and up, images are deployed into corresponding machine subdirs.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 lib/oesdk/bitbake-test-sdk-image |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/oesdk/bitbake-test-sdk-image b/lib/oesdk/bitbake-test-sdk-image
index 8df9a5b..cff86e4 100644
--- a/lib/oesdk/bitbake-test-sdk-image
+++ b/lib/oesdk/bitbake-test-sdk-image
@@ -125,6 +125,12 @@ extract_sdk_image() {
         return 1
     fi
 
+    # prefer sdk_path/m, if exists - Dora and up
+    if [ -d $sdk_path/$m ]
+    then
+        sdk_path="$sdk_path/$m"
+    fi
+
 
################################################################################
 # SDK_FILTER variable is used to specify the SDK image produced by the build,
 # that includes bootloaders, kernel, rootfs, devkit and host tools.
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to