build-linux: fix --verbose

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-19 00:00:00 +00:00
parent 985913e1e6
commit 454af5d03a

View File

@@ -65,6 +65,10 @@ Configure the kernel, but don't build it.
cc = '{} {}'.format(ccache, gcc)
else:
cc = gcc
if args.verbose:
verbose = ['V=1']
else:
verbose = []
common_make_args = [
'make', common.Newline,
'-j', str(args.nproc), common.Newline,
@@ -72,11 +76,7 @@ Configure the kernel, but don't build it.
'CROSS_COMPILE={}'.format(prefix), common.Newline,
'CC={}'.format(cc), common.Newline,
'O={}'.format(build_dir), common.Newline,
]
if args.verbose:
verbose = ['V=1']
else:
verbose = []
] + verbose
if args.custom_config_file is not None:
if not os.path.exists(args.custom_config_file):
raise Exception('config fragment file does not exist: {}'.format(args.custom_config_file))