summaryrefslogtreecommitdiffstats
path: root/libopenbmc_intf/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add function to load in the GPIO data from JSON.Matt Spinler2018-08-141-2/+2
| | | | | | | | | | | | | | Use the cJSON module to load in the GPIO definitions used by the other skeleton code into a cJSON structure. Its memory should be released by calling cJSON_Delete on it when complete. This is the first commit in a series that will move the GPIO configuration data from D-Bus into a JSON file, which is both more appropriate for read only data and the first step in getting rid of the system_manager.py file that currently hosts it. Change-Id: If1ef19e7988d28e3075828f61e88a606631bcd89 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Rename power_gpio to gpio_configs.Lei YU2017-01-121-2/+2
| | | | | Change-Id: I22382fbb19a077e333aba93ae81ae614ec0cb70a Signed-off-by: Lei YU <mine260309@gmail.com>
* system_manager, libobmc-intf: Add power GPIO configuration interfaceXo Wang2016-10-041-2/+2
| | | | | | | | | | | | | This adds a dbus call (in org.openbmc.managers.System) and C binding (in libopenbmc-intf) to read a POWER_CONFIG from the Python system configuration that abstracts GPIO functionality (power good, reset, etc) from their net names in GPIO_CONFIG. This should eventually replace machine-specific patches to op-pwrctl that define their own power and reset lines. Change-Id: I56eaaf60ef852b68124e4a765942243ad17d06ac Signed-off-by: Xo Wang <xow@google.com>
* libopenbmc_intf rules simplificationBrad Bishop2016-06-271-18/+25
| | | | | | | | | Don't use rules.mk for libopenbmc_intf. There isn't enough overlap here to warrant the extra complexity. Fix an issue where the library is rebuilt for every make invocation. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Create a libopenbmc_intf symlinkBrad Bishop2016-06-271-0/+2
| | | | | | | | | Create a libopenbmc_intf symlink in the build target to enable things like: -L ../libopenbmc_intf -lopenbmc_intf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* libopenbmc_intf include path updateBrad Bishop2016-06-271-1/+0
| | | | | | | | | Remove the interfaces prefix from applications including openbmc_intf.h. Use brackets rather than quotes in prep for a libopenbmc_intf SDK package. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add force link option to install targetBrad Bishop2016-06-271-1/+1
| | | | | | This allows 'make install' to be invoked more than once. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add install-headers targetBrad Bishop2016-06-271-1/+6
| | | | | | | Install the libopenbmc_intf includes in prep for a devel package. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Enable user-overriable CFLAGSBrad Bishop2016-06-211-2/+2
| | | | | | | | | Put required CFLAGS (ie pkg-config --cflags) in ALL_CFLAGS and append user specified CFLAGS to that. Use CFLAGS during link. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Reorganize directory structureBrad Bishop2016-06-101-0/+20
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications satisfy different OpenBMC build requirements. A number of issues are also addressed: - All applications were pulling in libsystemd and the gdbus libs irrespective of whether or not they were needed. - gpio.o duplicated in every application - moved to libopenbmc_intf - Added install target Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud