summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-06-27 13:45:18 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-06-27 13:53:39 -0400
commit6f4ba0533a257b0f18439e40c0be9c7bc9680f36 (patch)
treed150dec44b4fb8a0c9b76407157af26ce678f797 /rules.mk
parent37d0aa5bbd64e6ca826ea9e35a4cb5c3e0f16540 (diff)
downloadtalos-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.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules.mk b/rules.mk
index fcb7b44..d5d1625 100644
--- a/rules.mk
+++ b/rules.mk
@@ -1,5 +1,3 @@
-TOP := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
-
.DEFAULT_GOAL := all
sbindir=/usr/sbin
OpenPOWER on IntegriCloud