From f073905c67250f13f550432a79ccc5dcc834a8c1 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 16 Nov 2021 20:26:18 +0800 Subject: [PATCH] add yocto rootfs support in rootfs build shell script --- bsp/rootfs/build.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/rootfs/build.sh b/bsp/rootfs/build.sh index 57d0dd8..f7a23cc 100755 --- a/bsp/rootfs/build.sh +++ b/bsp/rootfs/build.sh @@ -4,7 +4,7 @@ BOARD=imx6ull -TAR_PATH=/home/guowenxue/imx6ull/bsp/tarball +TAR_PATH=${PRJ_PATH}/../tarball # rootfs should be buildroot or stretch/buster/bullseye for debian system ROOTFS=buildroot @@ -133,8 +133,8 @@ cd ${PRJ_PATH} } -if [ $ROOTFS == buildroot ] ;then - echo "INFO: buildroot no need build." +if [ $ROOTFS == buildroot -o $ROOTFS == yocto ] ;then + echo "INFO: $ROOTFS no need build." exit 0; fi -- Gitblit v1.9.1