summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-13 13:44:08 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:20 +0200
commit06660e9d7214f6096c09f246775cc3c8e9c30ff7 (patch)
tree9267825046a161ff8b5d2b776c6d97c6db71e350
parente4799748deb2449b19e3ae95b53b891827ef607e (diff)
Fix: being compatible with aglwgt_deploy Yocto tasks.
Bitbake looks into package dir to take widget and deploy them so we have to move the wgt file into that dir :) Change-Id: Ic729b2ec2a6017f090679c61c8a32a3a62f42d28 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rwxr-xr-xreference/AGLbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/reference/AGLbuild b/reference/AGLbuild
index 4cfd53a..5f8f595 100755
--- a/reference/AGLbuild
+++ b/reference/AGLbuild
@@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST)
@mkdir -p ${BUILD_DIR}/$@/lib
@mkdir -p ${BUILD_DIR}/$@/htdocs
@mkdir -p ${BUILD_DIR}/$@/data
+ @mkdir -p package
@cmake --build ${BUILD_DIR} --target widget
+ @cp ${BUILD_DIR}/*wgt package
${BUILD_DIR}/Makefile:
@[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}