Allow modules to specify defines
The modules.yaml now has an optional defines: list per module that adds preprocessor definitions to the build scripts. Also added a --debug flag to qemu.sh to run QEMU's debugger host.
This commit is contained in:
@@ -33,6 +33,7 @@ class Module:
|
||||
self.target = kwargs.get("target", None)
|
||||
self.deps = kwargs.get("deps", tuple())
|
||||
self.includes = kwargs.get("includes", tuple())
|
||||
self.defines = kwargs.get("defines", tuple())
|
||||
self.depmods = []
|
||||
|
||||
sources = [join(root, f) for f in kwargs.get("source", tuple())]
|
||||
|
||||
Reference in New Issue
Block a user