BR2_LINUX_KERNEL_CUSTOM_LOCAL=y
BR2_LINUX_KERNEL_CUSTOM_LOCAL_LOCATION="$(TOPDIR)/../kernel"
BR2_PACKAGE_E2FSPROGS=y
BR2_PACKAGE_E2FSPROGS_FSCK=y
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
# Rockchip common config, every Rockchip defconfig should include it

#include "base/kernel.config"
#include "fs/e2fs.config"

# Host environment setup script (for developing)
BR2_PACKAGE_HOST_ENVIRONMENT_SETUP=y

# Prefer using buildroot mirror
BR2_PRIMARY_SITE="http://sources.buildroot.net"
BR2_BACKUP_SITE=""

# Mirror for GNU packages
BR2_GNU_MIRROR="http://mirrors.kernel.org/gnu"

# Rockchip BSP packages
BR2_PACKAGE_ROCKCHIP=y

# Toolchain
BR2_CCACHE=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y

# Basic tools
BR2_PACKAGE_RKTOOLKIT=y
BR2_PACKAGE_RKSCRIPT=y
BR2_PACKAGE_BUSYBOX=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/rockchip/common/base/busybox.fragment"

# Rootfs configs
BR2_TARGET_GENERIC_ROOT_PASSWD="rockchip"
BR2_TARGET_SERIAL_SHELL_SH=y
BR2_ROOTFS_MERGED_USR=y
BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_GZIP=y
BR2_TARGET_ROOTFS_SQUASHFS=y

# Post rootfs script
BR2_ROOTFS_POST_BUILD_SCRIPT="board/rockchip/common/post-build.sh"

# Host tools
BR2_PACKAGE_HOST_E2FSPROGS=y
BR2_PACKAGE_HOST_NTFS_3G=y
BR2_PACKAGE_HOST_PYTHON3=y
BR2_PACKAGE_HOST_PYTHON3_SSL=y

# Force using buildroot's host tools
BR2_FORCE_HOST_BUILD=y
#include "base/common.config"


# Devtmpfs + eudev
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y

# Basic tools
BR2_PACKAGE_ANDROID_ADBD=y
BR2_PACKAGE_INPUT_EVENT_DAEMON=y
BR2_PACKAGE_USBMOUNT=y
BR2_PACKAGE_UTIL_LINUX_MOUNT=y

# Rootfs configs
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE_AUTO=y
BR2_cortex_a55=y
BR2_PACKAGE_RK3566_RK3568=y
BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3566_rk3568/fs-overlay/"
BR2_TARGET_GENERIC_HOSTNAME="rk3566_rk3568"
BR2_TARGET_GENERIC_ISSUE="Welcome to RK3566_RK3568 Buildroot"
#include "chips/rk3566_rk3568.config"
BR2_aarch64=y
BR2_PACKAGE_FONTCONFIG=y
BR2_PACKAGE_DEJAVU=y
BR2_PACKAGE_FONT_AWESOME=y
BR2_PACKAGE_LIBERATION=y
#include "font/font.config"
BR2_PACKAGE_SOURCE_HAN_SANS_CN=y
BR2_PACKAGE_EXFAT=y
BR2_PACKAGE_EXFAT_UTILS=y
BR2_PACKAGE_NTFS_3G=y
BR2_PACKAGE_NTFS_3G_NTFSPROGS=y
BR2_PACKAGE_DOSFSTOOLS=y
BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y
BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y
BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
BR2_PACKAGE_PARTED=y
BR2_PACKAGE_FATRESIZE=y
BR2_PACKAGE_ALSA_PLUGINS=y
BR2_PACKAGE_ALSA_UCM_CONF=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
BR2_PACKAGE_ALSA_UTILS_AMIXER=y
BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_LIBMAD=y
BR2_PACKAGE_PULSEAUDIO=y
BR2_PACKAGE_PULSEAUDI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y
BR2_PACKAGE_BLUEZ_ALSA_HCITOP=y
BR2_PACKAGE_BLUEZ_UTILS_TOOLS=y
BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED=y
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y
BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y
BR2_PACKAGE_RKWIFIBT=y
BR2_PACKAGE_RKWIFIBT_APP=y
BR2_PACKAGE_CHRONY=y
BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_GESFTPSERVER=y
# BR2_PACKAGE_DROPBEAR_CLIENT is not set
#include "network/network.config"
BR2_PACKAGE_HOSTAPD=y
BR2_PACKAGE_WPA_SUPPLICANT=y
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
BR2_PACKAGE_GLMARK2=y
BR2_PACKAGE_WHETSTONE=y
BR2_PACKAGE_DHRYSTONE=y
BR2_PACKAGE_LMBENCH=y
BR2_PACKAGE_UNIXBENCH=y
BR2_PACKAGE_IPERF=y
BR2_PACKAGE_EVTEST=y
BR2_PACKAGE_LRZSZ=y
BR2_PACKAGE_PROCRANK_LINUX=y
BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_STRACE=y
BR2_PACKAGE_IPUTILS=y
BR2_PACKAGE_IW=y
BR2_PACKAGE_WIRELESS_TOOLS=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS=y
BR2_PACKAGE_COREUTILS=y
BR2_PACKAGE_PROCPS_NG=y
BR2_PACKAGE_ROCKCHIP_MPP_TESTS=y
BR2_PACKAGE_CAMERA_ENGINE_RKAIQ_RKISP_DEMO=y
BR2_PACKAGE_MEMTESTER=y
BR2_PACKAGE_RT_TESTS=y
BR2_PACKAGE_STRESS=y
BR2_PACKAGE_STRESS_NG=y
BR2_PACKAGE_STRESSAPPTEST=y
BR2_PACKAGE_ROCKCHIP_TEST=y
BR2_PACKAGE_AT_SPI2_CORE=y
BR2_PACKAGE_CAIRO=y
BR2_PACKAGE_CHROMIUM_WAYLAND=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_JPEG_TURBO_JPEG6=y
BR2_PACKAGE_LIBV4L_RKMPP=y
BR2_PACKAGE_PANGO=y
BR2_PACKAGE_ROCKCHIP_MALI=y
BR2_PACKAGE_RKNPU2=y

BR2_PACKAGE_PM_UTILS=y

#  - enable utils, e.g: ifconfig hciconfig...
BR2_PACKAGE_BLUEZ5_UTILS=y
BR2_PACKAGE_WAYLAND=y
BR2_PACKAGE_WAYLAND_UTILS=y
BR2_PACKAGE_WESTON=y
BR2_PACKAGE_WESTON_DRM=y
BR2_PACKAGE_WESTON_DEMO_CLIENTS=y
BR2_PACKAGE_WESTON_SIMPLE_CLIENTS=y
#include "base/base.config"
#include "chips/rk3566_rk3568_aarch64.config"
#include "font/chinese.config"
#include "fs/exfat.config"
#include "fs/ntfs.config"
#include "fs/vfat.config"
#include "gpu/gpu.config"
#include "multimedia/audio.config"
#include "multimedia/camera.config"
#include "multimedia/gst/audio.config"
#include "multimedia/gst/camera.config"
#include "multimedia/gst/rtsp.config"
#include "multimedia/gst/video.config"
#include "multimedia/mpp.config"
#include "wifibt/bt.config"
#include "wifibt/wireless.config"
#include "tools/benchmark.config"
#include "tools/common.config"
#include "tools/test.config"
#include "network/chromium.config"
#include "npu2.config"
#include "powermanager.config"
#include "weston.config"
