diff --git a/build.sh b/build.sh index d39f3d5..a918819 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ set -e usage() { - echo "usage: $0 [variants] [--cache] [--jesd] [--test caseid] " 1>&2 + echo "usage: $0 [variants] [--evmy] [--cache] [--jesd] [--test caseid] " 1>&2 msg=${1:-} if [ ! -z "${msg}" ]; then echo "error:$1" @@ -14,11 +14,15 @@ fronthaul_option="cpri" cache_option="no" test_option="no" case_id=0 +board_option="EVB" while [[ "$#" > 0 ]]; do case $1 in --cache) cache_option="yes"; shift;; + --evmy) board_option="EVMY"; shift;; + --evb) board_option="EVB"; shift;; + --cpri) fronthaul_option="cpri"; shift;; --jesd) fronthaul_option="jesd"; shift;; @@ -43,6 +47,7 @@ if [ -d ${BUILD_DIR} ]; then fi if [[ "${fronthaul_option}" == "jesd" ]]; then + export BOARD_TYPE=${board_option} chmod +x build_jesd.sh source ./build_jesd.sh cp ${RFIC_DIR}/librfic.a ${DIR_ROOT}/lib diff --git a/build_jesd.sh b/build_jesd.sh index 4a0b09c..368e746 100755 --- a/build_jesd.sh +++ b/build_jesd.sh @@ -1,9 +1,11 @@ set -e git submodule init -git submodule update +git submodule update --remote --recursive pushd driver/rfic +git clean -dxf +git fetch git checkout DEV git pull #git checkout commitid @@ -11,5 +13,6 @@ git submodule init git submodule update make clean -make lib +echo "#board_type:${BOARD_TYPE}" +make all board_type=${BOARD_TYPE} popd \ No newline at end of file diff --git a/driver/rfic b/driver/rfic index 1f8aef0..8ea4378 160000 --- a/driver/rfic +++ b/driver/rfic @@ -1 +1 @@ -Subproject commit 1f8aef08469197a952e766f439fc0bfbc9a28ea5 +Subproject commit 8ea437815106d50f2230e0b3989f7f7174ac0fed diff --git a/driver/tfu b/driver/tfu index 7908793..7bd0c4a 160000 --- a/driver/tfu +++ b/driver/tfu @@ -1 +1 @@ -Subproject commit 7908793098da2a3fcc5da3f3f2831c84fe4947f7 +Subproject commit 7bd0c4a6b87b70cf28b0c47eea74b731c9e90e38