From 682e1c34704ad66e5bc18029afda4e045ae5bc6c Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Fri, 31 May 2024 11:14:21 +0800 Subject: [PATCH] Build:IGKBoard-All: Update driver build shell script to fix modules folder name bug:wq --- images/build.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/images/build.sh b/images/build.sh index 42b5e46..11e5c3a 100755 --- a/images/build.sh +++ b/images/build.sh @@ -103,7 +103,7 @@ export UBOOT_BINPATH=$TOP_PATH/bootloader/install/ export KERNEL_BINPATH=$TOP_PATH/kernel/install/ export ROOTFS_YCTPATH=$TOP_PATH/yocto/install/ - export IMAGE_NAME=${DIS_TYPE}-${DIS_VER}-${BSP_VER}.img + export IMAGE_NAME=${DIS_TYPE}-${DIS_VER}-${BOARD}.img export KERNEL_IMAGE=Image if [[ $BOARD =~ mx8ulp ]] || [[ $BOARD =~ mx8mq ]] || [[ $BOARD =~ mx8mm ]] ; then @@ -225,6 +225,7 @@ rm -rf $ROOTFS/lib/modules/ mkdir -p $ROOTFS/lib/modules/ cp -rf $KERNEL_BINPATH/lib/modules/[0-9]*\.[0-9]*\.[0-9]* $ROOTFS/lib/modules/ + cp -rf $KERNEL_BINPATH/lib/firmware/* $ROOTFS/lib/firmware/ pr_info "start install root filesystem" mount -t ext4 /dev/mapper/${LOOP_DEV}p2 ${MNT_POINT} -- Gitblit v1.9.1