summaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
* pwrctl: add pgood state switching applicationBrad Bishop2016-08-301-1/+11
| | | | | | | | | | pgood_wait simply blocks until the power state changes to the requested state. The intent is for use from a systemd unit similar to nm-online. Change-Id: Icf1e18f5d47d6eb2fc424b4614fd196ef3dfd6ee Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Conditionally use system provided libopenbmc_intfBrad Bishop2016-06-271-2/+0
| | | | | | | | | | | | | | | | | | This patch structures the make rules such that building from the top will build the in-tree libopenbmc_intf and link to that. For example: $make $make bmcctl would both result in ../libopenbmc_intf being built and the applications will link to that. Alternatively when building applications directly like: $make -C bmcctl the default compiler/linker search paths will be used. The latter facilitates package managers and the former retains a level of flexibility for developers working from the repository. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* bin targets are rebuilt every timeBrad Bishop2016-06-271-6/+6
| | | | | | | Address an issue where the targets specified in the BINS variable are rebuilt every time. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* libopenbmc_intf rules simplificationBrad Bishop2016-06-271-9/+3
| | | | | | | | | 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>
* Add install-headers targetBrad Bishop2016-06-271-0/+1
| | | | | | | Install the libopenbmc_intf includes in prep for a devel package. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* rules.mk: Fix parallel build for 'make install'Patrick Williams2016-06-211-1/+1
| | | | | | install-bins was missing a dependency on the binaries themselves. Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Enable user-overriable CFLAGSBrad Bishop2016-06-211-3/+3
| | | | | | | | | 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/+31
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