mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Test passing variables to kernel / world build
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user