6 BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
7 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
9 BR2_TOOLCHAIN_BUILDROOT_CXX=y
11 BR2_SYSTEM_DHCP="eth0"
13 # Linux headers same as kernel, a 6.6 series
14 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
17 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
18 BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,576cc10e1ed50a9eacffc7a05c796051d7343ea4)/linux-576cc10e1ed50a9eacffc7a05c796051d7343ea4.tar.gz"
19 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
21 # Build the DTB from the kernel sources
22 BR2_LINUX_KERNEL_DTS_SUPPORT=y
23 BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b"
25 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
27 BR2_PACKAGE_RPI_FIRMWARE=y
28 BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y
29 BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi4-64/config_4_64bit.txt"
31 # Required tools to create the SD image
32 BR2_PACKAGE_HOST_DOSFSTOOLS=y
33 BR2_PACKAGE_HOST_GENIMAGE=y
34 BR2_PACKAGE_HOST_MTOOLS=y
37 BR2_TARGET_ROOTFS_EXT2=y
38 BR2_TARGET_ROOTFS_EXT2_4=y
39 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
40 # BR2_TARGET_ROOTFS_TAR is not set
41 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh"
42 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh"
44 # Enable compressed kernel module support
45 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
46 BR2_PACKAGE_KMOD_TOOLS=y
49 BR2_PACKAGE_HOST_KMOD_XZ=y