aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-10-05 21:16:02 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-10-05 21:16:02 +0200
commitb558852f0a1b8faa73bd3acf3b80bbae69dede4e (patch)
treed170962dd83121d29698de916efb7bb4cc032a78
parent1140d80172e5d90593a50078344dcbfc0cd2addd (diff)
downloadopenembedded-b558852f0a1b8faa73bd3acf3b80bbae69dede4e.tar.gz
qi-ubi: remove PROVIDES it does provide virtual/bootloader as qi does
* but it's ok to build both and user will download just the one he needs
-rw-r--r--recipes/qi/qi-ubi_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/qi/qi-ubi_git.bb b/recipes/qi/qi-ubi_git.bb
index 08bc7c5123..35a7eaaa90 100644
--- a/recipes/qi/qi-ubi_git.bb
+++ b/recipes/qi/qi-ubi_git.bb
@@ -1,5 +1,10 @@
require qi_git.bb
+# workaround for (in this case) harmless error during image build
+# ERROR: Multiple .bb files are due to be built which each provide virtual/bootloader
+# it's just alternative to qi, so it's ok to build both and user will download one of them
+PROVIDES = ""
+
do_configure_prepend() {
sed -i 's#\(IMAGE = .(IMAGE_DIR)/\)qi-\(.(CPU)-.(BUILD_VERSION)\)#\1qi-ubi-\2#g' ${S}/Makefile
sed -i 's#\(UDFU_IMAGE = .(IMAGE_DIR)/\)qi-\(.(CPU)-.(BUILD_VERSION).udfu\)#\1qi-ubi-\2#g' ${S}/Makefile