aboutsummaryrefslogtreecommitdiff
path: root/jenkins/bisect.jpl
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins/bisect.jpl')
-rw-r--r--jenkins/bisect.jpl15
1 files changed, 14 insertions, 1 deletions
diff --git a/jenkins/bisect.jpl b/jenkins/bisect.jpl
index e379bc3..9b549d3 100644
--- a/jenkins/bisect.jpl
+++ b/jenkins/bisect.jpl
@@ -218,9 +218,22 @@ def buildKernel(kdir, kci_core) {
sh(script:"""\
./kci_build \
-build_kernel \
+generate_defconfig_fragments \
+--defconfig=${params.DEFCONFIG} \
--kdir=${kdir} \
+""")
+
+ def expanded_defconfig = sh(script: """\
+./kci_build \
+expand_fragments \
--defconfig=${params.DEFCONFIG} \
+""", returnStdout: true).trim()
+
+ sh(script:"""\
+./kci_build \
+build_kernel \
+--kdir=${kdir} \
+--defconfig=${expanded_defconfig} \
--arch=${params.ARCH} \
--build-env=${params.BUILD_ENVIRONMENT} \
--output=${output} \