project/build.sh : Modify build system menu description; Apply lightweight system processing only during Buildroot and BusyBox system compilation

Signed-off-by: eng29 <eng29@luckfox.com>
This commit is contained in:
eng29 2025-03-03 21:51:45 +08:00
parent 8cddbd2e81
commit 5f0e67aca5
1 changed files with 6 additions and 4 deletions

View File

@ -312,12 +312,12 @@ function choose_target_board() {
echo -e "${C_GREEN} "${space8}选择系统版本:"${C_NORMAL}"
if (("$BM_INDEX" == 1)); then
echo "${space8}${space8}[0] Buildroot(Support Rockchip official features) "
echo "${space8}${space8}[0] Buildroot "
read -p "Which would you like? [0~1][default:0]: " SYS_INDEX
MAX_SYS_INDEX=0
elif (("$BM_INDEX" == 0)); then
echo "${space8}${space8}[0] Buildroot(Support Rockchip official features) "
echo "${space8}${space8}[1] Ubuntu(Support for the apt package management tool)"
echo "${space8}${space8}[0] Buildroot "
echo "${space8}${space8}[1] Ubuntu "
read -p "Which would you like? [0~1][default:0]: " SYS_INDEX
MAX_SYS_INDEX=1
fi
@ -2223,7 +2223,9 @@ function build_mkimg() {
fs_type="\$${fs_type}"
fs_type=$(eval "echo ${fs_type}")
__RELEASE_FILESYSTEM_FILES $src
if [ "$LF_TARGET_ROOTFS" == "buildroot" ] || [ "$LF_TARGT_ROOTFS" == "busybox" ]; then
__RELEASE_FILESYSTEM_FILES $src
fi
msg_info "src=$src"
msg_info "dst=$dst"