Skip to content

Commit 454af5d

Browse files
committed
build-linux: fix --verbose
1 parent 985913e commit 454af5d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build-linux

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ Configure the kernel, but don't build it.
6565
cc = '{} {}'.format(ccache, gcc)
6666
else:
6767
cc = gcc
68+
if args.verbose:
69+
verbose = ['V=1']
70+
else:
71+
verbose = []
6872
common_make_args = [
6973
'make', common.Newline,
7074
'-j', str(args.nproc), common.Newline,
7175
'ARCH={}'.format(common.linux_arch), common.Newline,
7276
'CROSS_COMPILE={}'.format(prefix), common.Newline,
7377
'CC={}'.format(cc), common.Newline,
7478
'O={}'.format(build_dir), common.Newline,
75-
]
76-
if args.verbose:
77-
verbose = ['V=1']
78-
else:
79-
verbose = []
79+
] + verbose
8080
if args.custom_config_file is not None:
8181
if not os.path.exists(args.custom_config_file):
8282
raise Exception('config fragment file does not exist: {}'.format(args.custom_config_file))

0 commit comments

Comments
 (0)