3 BR2_ARM_FPU_NEON_VFPV4=y
5 BR2_TOOLCHAIN_BUILDROOT_CXX=y
9 # Linux headers same as kernel, a 5.10 series
10 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
13 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
14 BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
15 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
17 # Build the DTB from the kernel sources
18 BR2_LINUX_KERNEL_DTS_SUPPORT=y
19 BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-4-b"
21 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
23 BR2_PACKAGE_RPI_FIRMWARE=y
24 BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y
25 BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi4/config_4.txt"
27 # Required tools to create the SD image
28 BR2_PACKAGE_HOST_DOSFSTOOLS=y
29 BR2_PACKAGE_HOST_GENIMAGE=y
30 BR2_PACKAGE_HOST_MTOOLS=y
33 BR2_TARGET_ROOTFS_EXT2=y
34 BR2_TARGET_ROOTFS_EXT2_4=y
35 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
36 # BR2_TARGET_ROOTFS_TAR is not set
37 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh"
38 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh"