updated build.sh

This commit is contained in:
xianfeng.du 2023-07-14 17:29:38 +08:00
parent 2c80fc7f3c
commit 26900ddd78
2 changed files with 17 additions and 3 deletions

View File

@ -43,9 +43,8 @@ if [ -d ${BUILD_DIR} ]; then
fi fi
if [[ "${fronthaul_option}" == "jesd" ]]; then if [[ "${fronthaul_option}" == "jesd" ]]; then
cd ${RFIC_DIR}/ chmod +x build_jesd.sh
make clean source ./build_jesd.sh
make lib CROSS_CC=aarch64-linux-gnu-
cp ${RFIC_DIR}/librfic.a ${DIR_ROOT}/lib cp ${RFIC_DIR}/librfic.a ${DIR_ROOT}/lib
fi fi

15
build_jesd.sh Normal file
View File

@ -0,0 +1,15 @@
set -e
git submodule init
git submodule update
pushd driver/rfic
git checkout DEV
git pull
#git checkout commitid
git submodule init
git submodule update
make clean
make lib
popd