Skip to contentSkip to conversation

configs/microchip_sam9x60ek_mmc_dev_defconfig: fix build failure due to previous wrong commit

PATCH In review Giulio Benetti 2 participants 3 messages Feb 18, 2022 – Mar 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/microchip_sam9x60ek_mmc_dev_defconfig: fix build failure due to previous wrong commit

Commit 616ba9c90b014637dc9925fa442a0af4a11f04b8 extended rootfs size, but the option was listed in the wrong place. Options must be set in the order they are specified by Config.in files. So let's move BR2_TARGET_ROOTFS_EXT2_SIZE="120M" right after BR2_TARGET_ROOTFS_EXT2_4=y as it should be.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2103784289

---
 configs/microchip_sam9x60ek_mmc_dev_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/microchip_sam9x60ek_mmc_dev_defconfig +1 -1
index 00ccd784b5..06e03967c4 100644
@@ -7,7 +7,6 @@ BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek"
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg"
-BR2_TARGET_ROOTFS_EXT2_SIZE=120M
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz"
@@ -67,6 +66,7 @@ BR2_PACKAGE_HTOP=y
 BR2_PACKAGE_VIM=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 BR2_TARGET_AT91BOOTSTRAP3=y
 BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
 BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 2 lines · Giulio Benetti

Commit 616ba9c90b014637dc9925fa442a0af4a11f04b8 extended rootfs size, but the option was listed in the wrong place. Options must be set in the order

Order doesn't matter in kconfig. The problem was the lack of quotes.

Updated the commit message and applied to master, thanks.

Regards,
Arnout

Quoted 25 lines

they are specified by Config.in files. So let's move BR2_TARGET_ROOTFS_EXT2_SIZE="120M" right after BR2_TARGET_ROOTFS_EXT2_4=y as it should be.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2103784289

---
  configs/microchip_sam9x60ek_mmc_dev_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
configs/microchip_sam9x60ek_mmc_dev_defconfig +0 -1
index 00ccd784b5..06e03967c4 100644
@@ -7,7 +7,6 @@ BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek"
  BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
  BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
  BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg"
-BR2_TARGET_ROOTFS_EXT2_SIZE=120M
  BR2_LINUX_KERNEL=y
  BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
  BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz"

configs/microchip_sam9x60ek_mmc_dev_defconfig BR2_PACKAGE_HTOP=y · line 72

Quoted 7 lines
configs/microchip_sam9x60ek_mmc_dev_defconfig +1 -0
@@ -67,6 +66,7 @@ BR2_PACKAGE_HTOP=y
  BR2_PACKAGE_VIM=y
  BR2_TARGET_ROOTFS_EXT2=y
  BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
  BR2_TARGET_AT91BOOTSTRAP3=y
  BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
  BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz"

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 7 lines · Arnout Vandecappelle
Quoted 2 lines · Giulio Benetti

Commit 616ba9c90b014637dc9925fa442a0af4a11f04b8 extended rootfs size, but the option was listed in the wrong place. Options must be set in the order

Order doesn't matter in kconfig. The problem was the lack of quotes.

Oh, maybe I was told only because of style some time ago. I didn't see the quotes.. probably I was/am cooked.

Quoted 1 line

Updated the commit message and applied to master, thanks.

Thank you!

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 31 lines

Regards,
Arnout

Quoted 28 lines

they are specified by Config.in files. So let's move BR2_TARGET_ROOTFS_EXT2_SIZE="120M" right after BR2_TARGET_ROOTFS_EXT2_4=y as it should be.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2103784289

---
   configs/microchip_sam9x60ek_mmc_dev_defconfig | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
configs/microchip_sam9x60ek_mmc_dev_defconfig +0 -1
index 00ccd784b5..06e03967c4 100644
@@ -7,7 +7,6 @@ BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek"
   BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
   BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
   BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg"
-BR2_TARGET_ROOTFS_EXT2_SIZE=120M
   BR2_LINUX_KERNEL=y
   BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
   BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz"
@@ -67,6 +66,7 @@ BR2_PACKAGE_HTOP=y
   BR2_PACKAGE_VIM=y
   BR2_TARGET_ROOTFS_EXT2=y
   BR2_TARGET_ROOTFS_EXT2_4=y
Quoted 8 lines

configs/microchip_sam9x60ek_mmc_dev_defconfig BR2_PACKAGE_HTOP=y · line 72

Quoted 4 lines
configs/microchip_sam9x60ek_mmc_dev_defconfig +1 -0
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
   BR2_TARGET_AT91BOOTSTRAP3=y
   BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
   BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz"

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot