4 # Jan-Simon Moeller, jsmoeller@linuxfoundation.org
6 # This class expects a "make package" target in the makefile
7 # which creates the wgt files in the package/ subfolder.
8 # The makefile needs to use wgtpkg-pack.
12 # 'wgtpkg-pack' in af-main-native is required.
13 DEPENDS_append = " af-main-native"
15 # for bindings af-binder is required.
16 DEPENDS_append = " af-binder"
21 bbwarn "Your makefile must support the 'make package' target" ; \
22 bbwarn "and generate a .wgt file using wgtpack in the"; \
23 bbwarn "subfolder ./package/ !" ; \
24 bbwarn "Fix your package as it will not work within the SDK" ; \
25 bbwarn "See: https://wiki.automotivelinux.org/troubleshooting/app-recipes" \
30 d.setVarFlag('do_aglwgt_deploy', 'fakeroot', '1')
34 install -d ${D}/usr/AGL/apps
35 install -m 0644 ${B}/package/*.wgt ${D}/usr/AGL/apps/
38 FILES_${PN} += "/usr/AGL/apps/*.wgt"
40 addtask aglwgt_deploy before do_package after do_install
41 addtask aglwgt_package before do_aglwgt_deploy after do_compile