From: Romain Forlot Date: Sat, 13 May 2017 11:44:08 +0000 (+0200) Subject: Fix: being compatible with aglwgt_deploy Yocto tasks. X-Git-Tag: 3.99.1~11 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=44c91357eb31a1dfc1ba012721e98c3d13427f2b;p=staging%2Fxdg-launcher.git 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 --- 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}