mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2026-01-27 10:22:15 +00:00
Use the new module database infrastructure.
This commit is contained in:
3
make/.gitignore
vendored
3
make/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
versions/
|
||||
module-manifest.mk
|
||||
modules/module*
|
||||
|
||||
|
||||
|
||||
@@ -26,8 +26,11 @@ export ONL_DEBIAN_SUITE_$(ONL_DEBIAN_SUITE)=1
|
||||
|
||||
export BUILD_DIR_BASE=BUILD/$(ONL_DEBIAN_SUITE)
|
||||
|
||||
# Generate manifest if necessary
|
||||
export MODULEMANIFEST := $(shell $(BUILDER)/tools/mmg.py $(ONL)/make/mmg.yml $(ONL) --only-if-missing)
|
||||
|
||||
# Use the new module database tool to resolve dependencies dynamically.
|
||||
export BUILDER_MODULE_DATABASE := $(ONL)/make/modules/modules.json
|
||||
# Regenerate the module manifest if necessary.
|
||||
export MODULEMANIFEST := $(shell $(BUILDER)/tools/modtool.py --db $(BUILDER_MODULE_DATABASE) --dbroot $(ONL) --make-manifest $(ONL)/make/modules/modules.mk)
|
||||
|
||||
# Generate versions if necessary.
|
||||
$(shell $(ONL)/tools/make-versions.py --import-file=$(ONL)/tools/onlvi --class-name=OnlVersionImplementation --output-dir $(ONL)/make/versions)
|
||||
|
||||
Reference in New Issue
Block a user