From a6445c419c02cd6b7f56a175679347637cc5f692 Mon Sep 17 00:00:00 2001 From: Bryan Huntsman Date: Mon, 4 Jun 2018 14:18:41 -0700 Subject: scripts/build-all: look for nested vendor/ defconfig directories Look for additional defconfigs in 'arch/arm[64]/configs/vendor/'. Change-Id: I13a1675d8563611eee17a02445e0329ff5f7a215 Signed-off-by: Bryan Huntsman --- scripts/build-all.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build-all.py b/scripts/build-all.py index b6e68584cdf2..3a6566ac2db7 100755 --- a/scripts/build-all.py +++ b/scripts/build-all.py @@ -231,7 +231,7 @@ class Builder(): self.name = name self.defconfig = defconfig - self.confname = self.defconfig.split('/')[-1] + self.confname = re.sub('arch/arm[64]*/configs/', '', self.defconfig) # Determine if this is a 64-bit target based on the location # of the defconfig. @@ -315,6 +315,13 @@ def scan_configs(): for n in glob.glob('arch/arm64/configs/' + p): name = os.path.basename(n)[:-10] + "-llvm" + "-64" names.append(Builder(name, n)) + for defconfig in glob.glob('arch/arm*/configs/vendor/*_defconfig'): + target = os.path.basename(defconfig)[:-10] + name = target + "-llvm" + if 'arch/arm64' in defconfig: + name = name + "-64" + names.append(Builder(name, defconfig)) + return names def build_many(targets): -- cgit v1.2.3