Also update the ASSUME_PROVIDED in bitbake.conf to contain gawk-native
as the dependency is passed in via HOSTTOOLS for native builds.

This allows for recipes to depend on gawk-native, and have the
dependency met if not already provided by the host tools.

Signed-off-by: Nathan Rossi <[email protected]>
---
 meta/conf/bitbake.conf                   | 1 +
 meta/recipes-extended/gawk/gawk_4.1.4.bb | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8ce08340d7..3669067863 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -176,6 +176,7 @@ ASSUME_PROVIDED = "\
     chrpath-native \
     file-native \
     findutils-native \
+    gawk-native \
     git-native \
     grep-native \
     diffstat-native \
diff --git a/meta/recipes-extended/gawk/gawk_4.1.4.bb 
b/meta/recipes-extended/gawk/gawk_4.1.4.bb
index dda38ef1bb..04451f7ff8 100644
--- a/meta/recipes-extended/gawk/gawk_4.1.4.bb
+++ b/meta/recipes-extended/gawk/gawk_4.1.4.bb
@@ -46,4 +46,4 @@ do_install_ptest() {
        done
 }
 
-BBCLASSEXTEND = "nativesdk"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.14.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to