guowenxue
2024-02-28 32ad5888c3b424b8e276f1dc7a32dc50061a62b0
yocto/build.sh
@@ -7,7 +7,7 @@
PRJ_PATH=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
# top project absolute path
TOP_PATH=$(realpath $PRJ_PATH/..)
TOP_PATH=$PRJ_PATH/..
# prefix install path
PRFX_PATH=$PRJ_PATH/install
@@ -157,6 +157,7 @@
    BSP_VER=`echo $BSP_VER | sed 's/imx/lf/'`
    cp $TOP_PATH/bootloader/patches/${BOARD}/uboot-imx-${BSP_VER}.patch $PRJ_PATH/$YCT_META/recipes-bsp/u-boot/files/
    cp $TOP_PATH/kernel/patches/${BOARD}/linux-imx-${BSP_VER}.patch $PRJ_PATH/$YCT_META/recipes-kernel/linux/files/
    cp $TOP_PATH/images/patches/config-*.txt $PRJ_PATH/$YCT_META/recipes-bsp/u-boot/files/
    if [ ! -e $YCT_PATH/sources/$YCT_META ] ; then
        ln -s $PRJ_PATH/$YCT_META $YCT_PATH/sources/$YCT_META