mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-30 05:24:25 +01:00
build-buildroot: only cat EOF configs once
This commit is contained in:
@@ -91,11 +91,11 @@ usually extra Buildroot targets.
|
|||||||
'BR2_JLEVEL={}'.format(args.nproc),
|
'BR2_JLEVEL={}'.format(args.nproc),
|
||||||
'BR2_DL_DIR="{}"'.format(common.buildroot_download_dir),
|
'BR2_DL_DIR="{}"'.format(common.buildroot_download_dir),
|
||||||
])
|
])
|
||||||
common.write_configs(common.buildroot_config_file, configs)
|
|
||||||
if not args.build_linux:
|
if not args.build_linux:
|
||||||
configs.extend([
|
configs.extend([
|
||||||
'# BR2_LINUX_KERNEL is not set',
|
'# BR2_LINUX_KERNEL is not set',
|
||||||
])
|
])
|
||||||
|
config_fragments = []
|
||||||
if not args.baseline:
|
if not args.baseline:
|
||||||
configs.extend([
|
configs.extend([
|
||||||
'BR2_GLOBAL_PATCH_DIR="{}"'.format(
|
'BR2_GLOBAL_PATCH_DIR="{}"'.format(
|
||||||
|
|||||||
Reference in New Issue
Block a user