File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292
9393 echo "=== Step 3: Config ==="
9494 cp -rf ../SEED/BPI-R4-MINIMAL/config.seed .config
95+
96+ echo "=== Step 3b: Narrow bootloader variants for $INPUT_MEDIA ==="
97+ case "$INPUT_MEDIA" in
98+ emmc)
99+ cat >> .config <<'EOF'
100+ # CONFIG_PACKAGE_trusted-firmware-a-mt7988-sdmmc-comb is not set
101+ # CONFIG_PACKAGE_trusted-firmware-a-mt7988-spim-nand-ubi-comb is not set
102+ # CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-sdmmc is not set
103+ # CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-snand is not set
104+ CONFIG_PACKAGE_trusted-firmware-a-mt7988-emmc-comb=y
105+ CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-emmc=y
106+ EOF
107+ ;;
108+ sd|*)
109+ cat >> .config <<'EOF'
110+ # CONFIG_PACKAGE_trusted-firmware-a-mt7988-emmc-comb is not set
111+ # CONFIG_PACKAGE_trusted-firmware-a-mt7988-spim-nand-ubi-comb is not set
112+ # CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-emmc is not set
113+ # CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-snand is not set
114+ CONFIG_PACKAGE_trusted-firmware-a-mt7988-sdmmc-comb=y
115+ CONFIG_PACKAGE_u-boot-mt7988_bananapi_bpi-r4-sdmmc=y
116+ EOF
117+ ;;
118+ esac
95119
96120 echo "=== Step 4 : Defconfig ==="
97121 make defconfig
You can’t perform that action at this time.
0 commit comments