From: "Hsia-Jun(Randy) Li" <[email protected]>

Signed-off-by: Randy Li <[email protected]>
Signed-off-by: Hsia-Jun(Randy) Li <[email protected]>
---
 meta/classes/cmake.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 92b9197c48..40ae4fba08 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -69,6 +69,8 @@ OECMAKE_TARGET_COMPILE ?= "all"
 OECMAKE_TARGET_INSTALL ?= "install"
 
 def map_host_os_to_system_name(host_os):
+    if host_os.startswith('android'):
+        return 'Android'
     if host_os.startswith('mingw'):
         return 'Windows'
     if host_os.startswith('linux'):
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159777): 
https://lists.openembedded.org/g/openembedded-core/message/159777
Mute This Topic: https://lists.openembedded.org/mt/87764531/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to