build-buildroot: only cat EOF configs once

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-28 00:00:04 +00:00
parent 8dd6019333
commit 3ae614cba4

View File

@@ -91,11 +91,11 @@ usually extra Buildroot targets.
'BR2_JLEVEL={}'.format(args.nproc),
'BR2_DL_DIR="{}"'.format(common.buildroot_download_dir),
])
common.write_configs(common.buildroot_config_file, configs)
if not args.build_linux:
configs.extend([
'# BR2_LINUX_KERNEL is not set',
])
config_fragments = []
if not args.baseline:
configs.extend([
'BR2_GLOBAL_PATCH_DIR="{}"'.format(