Skip to content

Commit e7340be

Browse files
committed
ci: reapply minimal bootloader config after defconfig
1 parent f3ad926 commit e7340be

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/BPI-R4-Minimal-MTK-Bootloader-Test.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,19 @@ jobs:
9393
echo "=== Step 3: Config ==="
9494
cp -rf ../SEED/BPI-R4-MINIMAL/config.seed .config
9595
96-
echo "=== Step 3b: Narrow bootloader variants for $INPUT_MEDIA ==="
96+
echo "=== Step 4: Defconfig ==="
97+
make defconfig
98+
99+
echo "=== Step 4b: Narrow bootloader variants for $INPUT_MEDIA ==="
100+
sed -i \
101+
-e '/^CONFIG_PACKAGE_trusted-firmware-a-mt7988-emmc-comb=/d' \
102+
-e '/^CONFIG_PACKAGE_trusted-firmware-a-mt7988-sdmmc-comb=/d' \
103+
-e '/^CONFIG_PACKAGE_trusted-firmware-a-mt7988-spim-nand-ubi-comb=/d' \
104+
-e '/^CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-emmc=/d' \
105+
-e '/^CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-sdmmc=/d' \
106+
-e '/^CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-snand=/d' \
107+
.config
108+
97109
case "$INPUT_MEDIA" in
98110
emmc)
99111
printf '%s\n' \
@@ -114,8 +126,7 @@ jobs:
114126
'CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-sdmmc=y' >> .config
115127
;;
116128
esac
117-
118-
echo "=== Step 4: Defconfig ==="
129+
119130
make defconfig
120131
121132
echo "=== Step 5: Download ==="

0 commit comments

Comments
 (0)