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,24c8b0546a820222a1ebcfe606dfacb0e228c466)/linux-24c8b0546a820222a1ebcfe606dfacb0e228c466.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-cm4"
21 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
23 BR2_PACKAGE_RPI_FIRMWARE=y
24 BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y
26 # Required tools to create the SD image
27 BR2_PACKAGE_HOST_DOSFSTOOLS=y
28 BR2_PACKAGE_HOST_GENIMAGE=y
29 BR2_PACKAGE_HOST_MTOOLS=y
31 # Required tool to flash CM4 eMMC memory
32 BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT=y
35 BR2_TARGET_ROOTFS_EXT2=y
36 BR2_TARGET_ROOTFS_EXT2_4=y
37 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
38 # BR2_TARGET_ROOTFS_TAR is not set
39 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io/post-build.sh"
40 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io/post-image.sh"
41 BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay"