bench-boot: start convert to cli function

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 9acbcaaa5b
commit c2983e0e1f
4 changed files with 121 additions and 88 deletions

3
build
View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python3
import platform
import re
import os
@@ -368,7 +367,7 @@ Which components to build. Default: qemu-buildroot
}
# E.g. on an ARM host, the package gcc-arm-linux-gnueabihf
# is called just gcc.
processor = platform.processor()
processor = self.env['host_arch']
if processor != 'arm':
apt_get_pkgs.update({
'gcc-arm-linux-gnueabihf',