Test passing variables to kernel / world build

This commit is contained in:
Andrew Walker
2021-12-29 12:17:09 -05:00
parent fb27f813f3
commit 7b7441904f
2 changed files with 6 additions and 0 deletions

View File

@@ -95,6 +95,10 @@ kernel_modules = [
]
# World/kernel build configuration
make_conf_extra = [
"CFLAGS += -DNS_REREAD_CONF",
]
make_conf_build = {
"WITHOUT_ATM": "yes",
"WITHOUT_BLUETOOTH": "yes",

View File

@@ -60,6 +60,8 @@ def create_make_conf_build():
conf = open(makeconfbuild, 'w')
for k, v in config['make_conf_build'].items():
conf.write('{0}={1}\n'.format(k, v))
for param in config['make_conf_extra']:
conf.write(f'{param}\n')
conf.close()
conf = open(objdir('make-jail.conf'), 'w')
for k, v in config['make_conf_build'].items():