mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 04:59:27 +08:00
waf: Implement module dependency checking in the build system
- Do not build a test if a dependency is not enabled. - Perform a dependency check and generate an error if an enabled module depends on a disabled module. Closes #4077
This commit is contained in:
@@ -150,6 +150,7 @@ try:
|
||||
|
||||
build = builder.ModuleManager()
|
||||
libbsd.load(build)
|
||||
build.loadConfig()
|
||||
build.generateBuild(only_enabled=False)
|
||||
|
||||
dups = build.duplicateCheck()
|
||||
|
Reference in New Issue
Block a user