Age | Commit message (Collapse) | Author | Files | Lines |
|
When you are in a Yocto Environment there isn't os-release
file, so if the Yocto env is detected then position
manually the OSRELEASE variable to yocto-build.
Change-Id: I10029664100bb73aa74eaa85c1a4295c4ab65428
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I697e3812be657abc0b1877e55044225cc001c93e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
wgtpkg-pack tool is part of "application-framework-main" project
and not mandatory when developing natively. As a wgt package is
a zip file then use the zip format to simulate a real wgt package.
Change-Id: If2d5a86e93b9c9dc707658b2367f59a7824eddf6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Id5a8987d3222df9cfaa258cdce8353dad6ca9a4a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The dependency to libsystemd isn't strictly required.
Change-Id: I763e6a8d63af921c25c8dfdfb2d2021671dfd9d2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The dependency to libmlicrohttpd is a fake. Just remove it!
Change-Id: I511acc0ea9207aa973aac28fe02b1262ad8a47c2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Added this option, to match the given ones when building
from yocto with bitbake.
Also fixed the sample example, and some copy-paste issues
on build targets (RELEASE/DEBUG/PROFILING/CCOV).
Change-Id: I759305e54d427e6763f32b1a86207fe35add1b3f
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Bindings using the controller need to have a right base
search path for the config files, loaded plugins, and other extra
files (lua, for instance).
Therefore, in the development workflow here, where the binding
is uploaded to the target at a typically unsusual location,
the afb-daemon is given the RSYNC_PREFIX/etc as a base through the
CONFIG_CONTROL_PATH env variable.
Change-Id: Ieb39174918f0d51985e1d63b9f7c6509a05f284a
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Every distribution name detected in ID_LIKE field could
be used.
Change-Id: I767b1bb20521248b30269955ce6a15912a62df33
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Idcf5e85bfeab4edf1dbf52b6a0e3470ad350f939
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This will ensure we are to be able to correctly debug
with GDB. Indeed workdir afb-daemon parameter need to be
set at the current dir to correctly retrieve source files
path for GDB
Change-Id: Ib59e80ec48314d5d58e033d894314d0bd676fb85
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I5b1f48d2ad70bb5903e13e1df76d523ee12a52b1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I1c659045f178f5e45d31b0203abcd91485b55838
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
It may be needed to include additionnal files from the root dir
as populate and remote_target_populate targets are created
at inclusion parts you can't adds target using app-template
macros after the config.cmake first inclusion.
Change-Id: I92a98d997aa239ab56183da8dc95f6db993c17a2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Added the short hash coming from git lastest git commit
to the version number. In addition of the dirty flag
it make possible to know from where modifications
divergences begin.
Change-Id: Id25256f896c8179009d8588f79e7801cc2c90821
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
No needs to force CMAKE build type to debug as
it's the default. Only kept for convenience if
needed to specify other build type.
Change-Id: Idf88f09eebf6ab4defe070b7df23ebf769861c63
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: If650347cb598c27fe11fbb60666af57189bc00f6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Better description to use BINDINGV2 labels.
Adding documentation for macros:
- add_input_files
- set_openapi_filename
Change-Id: I7eb685faf4a5d4f92343d826877066b54b0012f0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I63ad812fc69c0ac38db0b16af405614fa68f6d54
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Include a new options calling afb-genskel depending on
PROJECT_LANGUAGES variable
Change-Id: Id7719b399eac58f0ced54a49e09350a587e4e997
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: If00a115e7f58ed6f2fcd6d4ebe00d96df58c0747
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Rpath could be set using a target property if needed
in the mean time no rpath is used by default.
Change-Id: Ia704b00972545ed73dee98ea88e17d0ef08cf014
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Linting and little typo fixes.
Change-Id: I714477b429c9257595ee8eae05ba1ef4901234a2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I9fc0e4389ade90e22e4ede77720effeff87834b7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I1ec3541aa5ab6f82a91e150193c954e586cb06f8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ifbe95bbcb7f192ec9e84c26a73dc260926360b37
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Keep using a classic CMake variable not escape with quote
for path PKG_TEMPLATE_PREFIX else path isn't correct for internal
cmake usage.
Change-Id: I9ebff240e28c5cc8922ff6bbc5e6c14a62997f65
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I7e83d2e587757edf5cfa22709ead85ce82f52dcc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Idb46117feb860c84a14b6c256ee809e31546fd7c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL: SPEC-1117
Change-Id: I36ba8047c3dc722c6c99ecbd90e14d5d717cb808
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
PROJECT_VERSION could be detected if project is located in AGL gerrit repo
or with personal tags when in personal repository
This version is checked against app-templates version which is
aligned on AGL tags.
A warning is displayed if app-templates version is outdated related to
project_version.
Also a "dirty" flag is appended to the project version if
git repo isn't in sync with its remote counterpart. Then you could
know if see an installed widget on a target that got that "-dirty"
flag appended to the version that this widget include code that could
not be merged in the git repository.
Bug-AGL: SPEC-951
Change-Id: I99687560d19d746c887fc7a095e71407bda34325
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ia040321ddf86d80c04b63f56041b571b24a802ec
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Path to default package BINDIR, LIBDIR, ETCDIR, DATADIR and
HTTPDIR.
Change-Id: I0e820f48f60e5e18053077fdbaa1d45912d5bb12
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Commit 9a73785 ("Better handling icon&config.xml to build widget")
seems to have accidentally broken an application providing its own
config template, resulting in the stock templates always being used.
That results in breakage like extra permissions in the app's version
not being picked up. The logic for setting WIDGET_CONFIG_TEMPLATE
has been reverted to what it was previously to fix the behavior.
Change-Id: I245bc08f466b883b61c286faed933a5e57a74845
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Change-Id: If606d1ad283a37b7a2c1d4e45d8459ace2ba76c5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I40a3424b689d03e3f6cf471495ed869511a30d2d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Instructions to include external library into a widget
Change-Id: Ic5c8c477fdbc1d374f1f88260b51cb9f200d02e1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Icf3929e6f2b0c28d3281ee451527ec1085ac9c7f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Id06766a8c24dd21fdee6211a384bfccf7c6535ad
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Can use an external library builded as an external project
or an already built library/executable to include it into
a widget.
Change-Id: Ia3282f875fe0f6f9e8f1153d87ccfbecf8559dbb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Either put all in a dedicated binding directory like a classic
widget install, either put all directly a CMAKE_INSTALL_PREFIX
root directory.
Change-Id: I54ebe8a680ea09af73c7fc9e6646fdd203fdeb98
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I6b8964c0c7db970b88e636222fb8394a51dbde8e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I22b52611dab0be6021b08d6c6d63bc369df0b4d4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I30b75cec8634ffe52f3918e9da7bc1c656c6215d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Output a warning if no checker found but at usage must
crash the build if input files has errors.
Change-Id: I282c4eb2303922ce1cd7055b51182ed222b62d08
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I1ee2fb376e247c74e383428ec5c0b7994cba1f54
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ib48817e4634990b6369de29ce81fa86354d73652
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I942b11b460c15618cc3c6a731f588d7a8b91abcf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: If28a37406175dc318c3ed62153e3276f2eb77525
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|