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

19 lines
829 B
Plaintext

#include "kernel.config"
#include "busybox_minimal.config"
# Base config for tinyrootfs
# - 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/tinyrootfs/overlay"
# - the post build script will be excuted after all fs-overlay copyed
BR2_ROOTFS_POST_BUILD_SCRIPT="../device/rockchip/common/post-build.sh board/rockchip/common/tinyrootfs/post-build-tinyrootfs.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
# - specify this is rockchip package
BR2_PACKAGE_ROCKCHIP=y
# - tinyrootfs just use romfs
BR2_TARGET_ROOTFS_ROMFS=y
# - merge usr to make small rootfs size
BR2_ROOTFS_MERGED_USR=y