commit | 43997db22f16681e9f1c7d9a9c5cf1c7af32e7de | [log] [tgz] |
---|---|---|
author | Joey Armstrong <joey@opennetworking.org> | Sun Jun 04 10:08:58 2023 -0400 |
committer | Joey Armstrong <joey@opennetworking.org> | Sun Jun 04 10:08:58 2023 -0400 |
tree | 6ca5175118230757ab1e7adda20dedc5b62c3106 | |
parent | a68903447ca29e7e65e1345fbdba1f52429ff4fb [diff] |
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
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 Macro | Description |
---|---|
MAKEDIR | Path to project specific makefiles/ directory |
ONF_MAKEDIR | Path to generic library makefiles/ directory |
include $(ONF_MAKEDIR)/include.mk