diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-27 13:45:18 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-27 13:53:39 -0400 |
commit | 6f4ba0533a257b0f18439e40c0be9c7bc9680f36 (patch) | |
tree | d150dec44b4fb8a0c9b76407157af26ce678f797 /rules.mk | |
parent | 37d0aa5bbd64e6ca826ea9e35a4cb5c3e0f16540 (diff) | |
download | talos-skeleton-6f4ba0533a257b0f18439e40c0be9c7bc9680f36.tar.gz talos-skeleton-6f4ba0533a257b0f18439e40c0be9c7bc9680f36.zip |
Conditionally use system provided libopenbmc_intf
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>
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1,5 +1,3 @@ -TOP := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))) - .DEFAULT_GOAL := all sbindir=/usr/sbin |