From ee093b729122dd7756f706925fde42ca59dc3688 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Fri, 05 Nov 2021 21:59:47 +0800 Subject: [PATCH] Remove unused imx_fetch.sh shell script --- /dev/null | 49 ------------------------------------------------- 1 files changed, 0 insertions(+), 49 deletions(-) diff --git a/bsp/tarball/imx_fetch.sh b/bsp/tarball/imx_fetch.sh deleted file mode 100755 index d92e07b..0000000 --- a/bsp/tarball/imx_fetch.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -TAR_PATH=`pwd` - -#TARBALL_URL=http://weike-iot.com:2211/imx6ull/bsp - -GIT_URL_NXP="https://source.codeaurora.org/external/imx" -IMX_BRANCH="lf-5.10.52-2.1.0" - -function do_fetch_git() -{ - SRC=$1 - - if [ ! -d $SRC ] ; then - git clone --branch ${IMX_BRANCH} ${GIT_URL_NXP}/${SRC}.git - fi - - cd $SRC - - git config tar.tar.xz.command "xz -c" - git archive --format=tar.xz --prefix=${SRC}/ ${IMX_BRANCH} > ${TAR_PATH}/${SRC}-${IMX_BRANCH}.tar.xz - - cd - - rm -rf $SRC -} - -function do_fetch_url() -{ - SRC=$1 - - wget ${TARBALL_URL}/${SRC}-${IMX_BRANCH}.tar.xz -} - -if [ ! -s uboot-imx-${IMX_BRANCH}.tar.xz ] ; then - if [ ! -z $TARBALL_URL ] ; then - do_fetch_url uboot-imx - else - do_fetch_git uboot-imx - fi -fi - -if [ ! -s linux-imx-${IMX_BRANCH}.tar.xz ] ; then - if [ ! -z $TARBALL_URL ] ; then - do_fetch_url linux-imx - else - do_fetch_git uboot-imx - fi -fi - -- Gitblit v1.9.1