Skip to content

Commit 3cbf9a9

Browse files
Soumil ShahEruvaram Kumar Raja Reddy
Soumil Shah
authored and
Eruvaram Kumar Raja Reddy
committed
kernel_headers: Explicitly run headers_install under 'sh'
To avoid build failures in the newer Android build systems, run the headers_install script explicitly under 'sh'. Change-Id: If30d2bda653c6be443345a2594e9993d9780db21 Signed-off-by: Soumil Shah <[email protected]> Signed-off-by: Raghavendra Rao Ananta <[email protected]> Signed-off-by: Eruvaram Kumar Raja Reddy <[email protected]>
1 parent 9bc5cca commit 3cbf9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_headers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def run_headers_install(verbose, gen_dir, headers_install, prefix, h):
344344
if verbose:
345345
print('run_headers_install: cmd is %s' % cmd)
346346

347-
result = subprocess.call(cmd)
347+
result = subprocess.call(['sh', headers_install, h, out_h])
348348

349349
if result != 0:
350350
print('error: run_headers_install: cmd %s failed %d' % (cmd, result))

0 commit comments

Comments
 (0)