hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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