Skip to content

Commit

Permalink
Change the subprocess argument to fix the build issue
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Srinivasarao P <[email protected]>
  • Loading branch information
Bharat Pawar authored and Srinivasarao P committed Jun 28, 2021
1 parent 6d29c92 commit 1fd38bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 1fd38bb

Please sign in to comment.