Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb60c3fe authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scripts/build-all: look for nested vendor/ defconfig directories" into msm-4.9

parents 33d8c109 6915ec28
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -230,7 +230,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.
@@ -316,6 +316,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):