Support distinct project and library makefile includes.

Makefile
makefiles/include.mk
makefiles/lint/include.mk
makefiles/python/include.mk
---------------------------
  O Library makefiles only require an include directory var.
  o Project makefiles require two vars, one for derived paths (TOP=).
  o Infer library makefile path from the included makefile.
  o Maintain MAKEDIR= and ONF_MAKEDIR= so caller can selectively
    include what they want to use.

Change-Id: Id1a6d76a278edc130729dd641688c9e5793e90f4
5 files changed
tree: 6ca5175118230757ab1e7adda20dedc5b62c3106
  1. .gitreview
  2. Makefile
  3. README.md
  4. config.mk
  5. makefiles/
README.md

Repository: onf-make

This repo holds generic library makefile logic and targets that can be used to build and test arbitrary targets.

Two module directories are maintained, access through variables:

Make MacroDescription
MAKEDIRPath to project specific makefiles/ directory
ONF_MAKEDIRPath to generic library makefiles/ directory

include $(ONF_MAKEDIR)/include.mk

implicit project import:

include $(MAKEDIR)/include.mk