commit | a532539181bae92ccdd0de3b1b8bfeff6d85dea2 | [log] [tgz] |
---|---|---|
author | Joey Armstrong <jarmstrong@linuxfoundation.org> | Tue Apr 02 13:22:12 2024 -0400 |
committer | Joey Armstrong <jarmstrong@linuxfoundation.org> | Tue Apr 02 13:22:12 2024 -0400 |
tree | e99dfd3d9751691bc94231ba2f2702f5556ae877 | |
parent | 024492a619949ba9ccca670ef1e523a064457798 [diff] |
makefiles/consts.mk ------------------- o Define a non-verbose (no -t) xargs macro. makefiles/include.mk -------------------- o Define a path variable (local-mk-dir=) to access per-repo macros. o Change global ONF_MAKEDIR= path to $(onf-mk-dir). makefiles/lint/doc8/doc8.ini makefiles/lint/doc8/doc8.mk makefiles/lint/doc8/help.mk makefiles/lint/doc8/include.mk makefiles/lint/doc8/ini.mk makefiles/lint/doc8/README.md ----------------------------- o per-repository exclusions require using multiple --config doc8.ini. o doc8 --config only accepts one flag. o lint logic will merge configs into one. o Added a conditional var to facilitate using --config doc8.ini. makefiles/main/tempdir/ ----------------------- o Added logic to create and cleanup a tempdir for internal use. Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org> Change-Id: Ic1c54e982d6e24465bd38f02f60a3b700a7d9e33
This repository contains common makefile logic and targets that can be used to build arbitrary repositories. Makefile logic is currently being consumed by the VOLTHA project
Two distinct sets of makefiles are needed to support builds:
The first is a subdir of makefiles/ named 'onf-make'
The second makefile directory contains repository/project specific logic:
Most makefile logic can be parameterized and implemented to support reuse. Consider adding enhancements or refactoring local/ makefile logic into repo:onf-make so all makefiles can leverage it.
% tree --charset=ascii -n Makefile config.mk makefiles/ |-- include.mk |-- local | |-- include.mk | | | |-- doc8 | | | | |-- doc8.ini (alas only one --config switch allowed) |-- [onf-make: git-submodule](https://github.com/opencord/onf-make) | |-- makefiles | | |-- consts.mk | | |-- include.mk | | |-- lint | | | |-- doc8 Syntax check ReStructuredText (rst) files | | | |-- groovy | | | |-- python | | | |-- robot.mk Syntax check robot testing framework | | | |-- shell.mk Invoke shellcheck command on scripts | | | |-- yaml Syntax check yaml configs
Ascii art was rendered using
README.md can be rendered locally using