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 <soumshah@codeaurora.org> Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This commit is contained in:
parent
ddcb1352e3
commit
de51ee353a
@ -343,7 +343,7 @@ def run_headers_install(verbose, gen_dir, headers_install, prefix, h):
|
|||||||
if verbose:
|
if verbose:
|
||||||
print('run_headers_install: cmd is %s' % cmd)
|
print('run_headers_install: cmd is %s' % cmd)
|
||||||
|
|
||||||
result = subprocess.call(cmd)
|
result = subprocess.call(['sh', headers_install, h, out_h])
|
||||||
|
|
||||||
if result != 0:
|
if result != 0:
|
||||||
print('error: run_headers_install: cmd %s failed %d' % (cmd, result))
|
print('error: run_headers_install: cmd %s failed %d' % (cmd, result))
|
||||||
|
Loading…
Reference in New Issue
Block a user