Skip to content

Commit 317c123

Browse files
committed
ci: Use variable image name for rpi build
Use IMAGE variable for rpi build. Set IMAGE to zImage in azure-pipelines-rpi.yml. Signed-off-by: Alisa-Dariana Roman <alisa.roman@analog.com>
1 parent 012f867 commit 317c123

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

azure-pipelines-rpi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,17 @@ stages:
3131
bcm2709_arm_adi:
3232
DEFCONFIG: adi_bcm2709_defconfig
3333
ARCH: arm
34+
IMAGE: zImage
3435
artifactName: 'adi_bcm2709_defconfig'
3536
bcm2711_arm_adi:
3637
DEFCONFIG: adi_bcm2711_defconfig
3738
ARCH: arm
39+
IMAGE: zImage
3840
artifactName: 'adi_bcm2711_defconfig'
3941
bcmrpi_arm_adi:
4042
DEFCONFIG: adi_bcmrpi_defconfig
4143
ARCH: arm
44+
IMAGE: zImage
4245
artifactName: 'adi_bcmrpi_defconfig'
4346
pool:
4447
vmImage: 'ubuntu-latest'

ci/travis/run-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ build_default() {
259259
if [[ "${SYSTEM_PULLREQUEST_TARGETBRANCH}" =~ ^rpi-.* || "${BUILD_SOURCEBRANCH}" =~ ^refs/heads/rpi-.* \
260260
|| "${BUILD_SOURCEBRANCH}" =~ ^refs/heads/staging-rpi ]]; then
261261
echo "Rpi build"
262-
make -j$NUM_JOBS zImage modules dtbs
262+
make -j$NUM_JOBS $IMAGE modules dtbs
263263
make INSTALL_MOD_PATH="${PWD}/modules" modules_install
264264
else
265265
echo "Normal build"

0 commit comments

Comments
 (0)