From 93446ef93d1e42ab87b3bd4c7f3161a3ba9b62c9 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Sat, 13 Nov 2021 12:06:14 +0800 Subject: [PATCH] Add bsp top build shell script, update crosstool to buildroot --- bsp/tarball/build.sh | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bsp/tarball/build.sh b/bsp/tarball/build.sh index 2783951..83bfdb4 100755 --- a/bsp/tarball/build.sh +++ b/bsp/tarball/build.sh @@ -7,6 +7,9 @@ GIT_URL_NXP="https://source.codeaurora.org/external/imx" IMX_BRANCH="lf-5.10.52-2.1.0" +# rootfs should be buildroot or stretch/buster/bullseye for debian system +ROOTFS=buildroot + function do_fetch_git() { SRC=$1 @@ -48,13 +51,10 @@ { if [ ! -z $TARBALL_URL ] ; then do_fetch_url uboot-imx + do_fetch_url linux-imx + wget ${TARBALL_URL}/rootfs_${ROOTFS}.tar.bz2 else do_fetch_git uboot-imx - fi - - if [ ! -z $TARBALL_URL ] ; then - do_fetch_url linux-imx - else do_fetch_git linux-imx fi } -- Gitblit v1.9.1