From 454af5d03a45498d2c62a424071dc675ff59c4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Mon, 19 Nov 2018 00:00:00 +0000 Subject: [PATCH] build-linux: fix --verbose --- build-linux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build-linux b/build-linux index 15ac24d..9cc2457 100755 --- a/build-linux +++ b/build-linux @@ -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))