linuxOS_AP05/buildroot/configs/rockchip/base.config
2025-06-02 13:59:07 +08:00

25 lines
1.0 KiB
Plaintext

#include "kernel.config"
#include "busybox.config"
# base subset is the basic subset of all rootfs, ramdisk.
# - auto resize ext2 fs
BR2_TARGET_ROOTFS_EXT2_SIZE="AUTO"
# - use glibc as the basic libc
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
# - we use buildroot toolcharn here, may change to custom toolchain in the feature
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# - the basic fs-overlay, will copy to rootfs after all package built
BR2_ROOTFS_OVERLAY="board/rockchip/common/base"
# - the post build script will be excuted after all fs-overlay copyed
BR2_ROOTFS_POST_BUILD_SCRIPT="../device/rockchip/common/post-build.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
# - specify this is rockchip package
BR2_PACKAGE_ROCKCHIP=y
# - we need to support various rootfs, cpio for ramdisk, ext2/4 for large system, squashfs for small system
BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_GZIP=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_SQUASHFS=y
# - script for rockchip linux demo and debug
BR2_PACKAGE_RKSCRIPT=y