From 26900ddd7845692817dc8b604a8cae5dcffe7d17 Mon Sep 17 00:00:00 2001 From: "xianfeng.du" Date: Fri, 14 Jul 2023 17:29:38 +0800 Subject: [PATCH] updated build.sh --- build.sh | 5 ++--- build_jesd.sh | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 build_jesd.sh diff --git a/build.sh b/build.sh index 82808db..d39f3d5 100755 --- a/build.sh +++ b/build.sh @@ -43,9 +43,8 @@ if [ -d ${BUILD_DIR} ]; then fi if [[ "${fronthaul_option}" == "jesd" ]]; then - cd ${RFIC_DIR}/ - make clean - make lib CROSS_CC=aarch64-linux-gnu- + chmod +x build_jesd.sh + source ./build_jesd.sh cp ${RFIC_DIR}/librfic.a ${DIR_ROOT}/lib fi diff --git a/build_jesd.sh b/build_jesd.sh new file mode 100644 index 0000000..4a0b09c --- /dev/null +++ b/build_jesd.sh @@ -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 \ No newline at end of file