mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
android: add working run script
This commit is contained in:
@@ -60,10 +60,12 @@ https://github.com/cirosantilli/linux-kernel-module-cheat#android
|
||||
# The crappy android build system requires
|
||||
# https://stackoverflow.com/questions/7040592/calling-the-source-command-from-subprocess-popen
|
||||
self.sh.run_cmd('''\
|
||||
. build/envsetup.sh
|
||||
lunch aosp_{}-eng
|
||||
{}
|
||||
USE_CCACHE=1 make -j {}
|
||||
'''.format(self.env['android_arch'], self.env['nproc']),
|
||||
'''.format(
|
||||
self.env['android_shell_setup'],
|
||||
self.env['nproc']
|
||||
),
|
||||
cwd=self.env['android_dir'],
|
||||
executable=shutil.which('bash'),
|
||||
shell=True,
|
||||
|
||||
Reference in New Issue
Block a user