3 BR2_ARM_FPU_NEON_VFPV4=y
5 BR2_TOOLCHAIN_BUILDROOT_CXX=y
9 # Linux headers same as kernel, a 5.4 series
10 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
13 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
14 BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,ff93994fb3f92070d8521d709ad04675ecaa5817)/linux-ff93994fb3f92070d8521d709ad04675ecaa5817.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
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
32 BR2_TARGET_ROOTFS_EXT2=y
33 BR2_TARGET_ROOTFS_EXT2_4=y
34 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
35 # BR2_TARGET_ROOTFS_TAR is not set
36 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh"
37 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh"
38 BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay"