commit | 78fca2dfde43820c5b0449e6ec00be7547acf4d6 | [log] [tgz] |
---|---|---|
author | Joey Armstrong <jarmstrong@linuxfoundation.org> | Wed May 01 16:51:58 2024 -0400 |
committer | Joey Armstrong <jarmstrong@linuxfoundation.org> | Wed May 01 16:51:58 2024 -0400 |
tree | 9c05971c3b0b19d7e48866e3440acf4792b5b5eb | |
parent | 95a52436dba9c50e248a1c2c02d8e8e1c281f8b6 [diff] |
Edits to help support repo:onf-make as a git submodule. transition.mk ------------- o Basic bridge logic for transition to repo:onf-make. o Include costs.mk and virtualenv targets. o Conditional include.mk logic to inline into Makefile appended at the end. makefiles/detect ---------------- o WIP o Add detection logic to enable makefile features based on extension. o Targets and logic can be loaded on demand based on available source. VS kitchen sink/load everything that happens now. Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org> Change-Id: I0d9af7bc15d7556ae7e15c5410b36189160c875d
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