| commit | 4e69cce75acbdaf9cf2933c229908dc910f29a9f | [log] [tgz] |
|---|---|---|
| author | David Wagner <david.wagner@intel.com> | Wed Apr 22 12:10:03 2015 +0200 |
| committer | Eric Laurent <elaurent@google.com> | Thu Apr 23 10:20:59 2015 -0700 |
| tree | bb086894958789e8e2417a89b73b1ff91e539f78 | |
| parent | 34a56231dd8313da1cf6509326be00a6bdb36465 [diff] |
android/python bindings: force gcc and 32bits compilation Since Android only provides a 32bits version of the python interpreter and libs, we need to compile for 32bits even on 64bits hosts. Also, since it seems that clang is the default compiler for host, we need to explicitely forbid it as long as the parameter-framework is compiled with gcc. Change-Id: I5d484c0e58c304680192f443acd81258de179e52 Signed-off-by: David Wagner <david.wagner@intel.com>
The parameter-framework is a plugin-based and rule-based framework for handling parameters. This means that you can:

The parameter-framework can be used to set the value of alsa controls (switches, volumes, etc.) on smartphones/tablets based on parameter-framework rules (in this example, they transcribe use-cases). For accessing parameters (i.e. alsa controls), you may use the alsa plugin.
The filesystem plugin can be used to write parameters in files. This is particularly useful for files in /sys managing GPIOs.
The parameter-framework's core comes in the form of a shared library. Its client has to provide:
At runtime, the most usual communication between the client and the parameter-framework are:
The parameter-framework comes with several tools, including a command-line interface: remote-process.
See the wiki on github.
Run cmake . then make. You may then install libraries, headers and binaries with make install. By default, they are installed under /usr/local on unix OSes; if you want to install them under a custom directory, you may do so by passing it to the cmake . command; e.g.
cmake -DCMAKE_INSTALL_PREFIX=/path/to/custom/install .
Also, CMake can build a project out-of-tree, which is the recommended method:
mkdir /path/to/build/directory cd /path/to/build/directory cmake /path/to/parameter-framework/sources make
After an install you may want to run the parameter-framework tests with make test.