summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-09-10 22:59:08 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-18 11:07:24 +0100
commitcbc396dd10488990c98bb6fd94c7d10a736d57c1 (patch)
tree99b77aa1395afbd0abd59d5e97530b56c117b197
parent0c4259dd3c74d81f20b87417cecb1e636365ce10 (diff)
downloadopenembedded-core-contrib-cbc396dd10488990c98bb6fd94c7d10a736d57c1.tar.gz
openembedded-core-contrib-cbc396dd10488990c98bb6fd94c7d10a736d57c1.tar.bz2
openembedded-core-contrib-cbc396dd10488990c98bb6fd94c7d10a736d57c1.zip
gawk: Enable native building
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 <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/conf/bitbake.conf1
-rw-r--r--meta/recipes-extended/gawk/gawk_4.1.4.bb2
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8fb596e6b9..4ff1e9608e 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"