From 1fd38bb4379d5681a9af2dfbedc3557e4ae74478 Mon Sep 17 00:00:00 2001 From: Bharat Pawar Date: Wed, 5 May 2021 22:43:20 +0530 Subject: [PATCH] Change the subprocess argument to fix the build issue Change subprocess arguments in kernel_headers.py script so that it can include dirname to resolve the compilation issues in the new build system. Change-Id: I89bbe53aa8a8b50e2c98a795fa20a976f2792a3b Signed-off-by: Bharat Pawar Signed-off-by: Srinivasarao P --- kernel_headers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel_headers.py b/kernel_headers.py index 3397308f8697..c21e31e3c321 100644 --- a/kernel_headers.py +++ b/kernel_headers.py @@ -347,7 +347,7 @@ def run_headers_install(verbose, gen_dir, headers_install, unifdef, prefix, h): env = os.environ.copy() env["LOC_UNIFDEF"] = unifdef - result = subprocess.call(['sh', headers_install, h, out_h], env=env) + result = subprocess.call(['sh', headers_install, out_h_dirname, h_dirname, out_h_basename], env=env) if result != 0: print('error: run_headers_install: cmd %s failed %d' % (cmd, result))