updated the build.sh for jesd submodule
This commit is contained in:
parent
61ecf2f642
commit
efe607aa36
7
build.sh
7
build.sh
@ -1,7 +1,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: $0 [variants] [--cache] [--jesd] [--test caseid] " 1>&2
|
echo "usage: $0 [variants] [--evmy] [--cache] [--jesd] [--test caseid] " 1>&2
|
||||||
msg=${1:-}
|
msg=${1:-}
|
||||||
if [ ! -z "${msg}" ]; then
|
if [ ! -z "${msg}" ]; then
|
||||||
echo "error:$1"
|
echo "error:$1"
|
||||||
@ -14,11 +14,15 @@ fronthaul_option="cpri"
|
|||||||
cache_option="no"
|
cache_option="no"
|
||||||
test_option="no"
|
test_option="no"
|
||||||
case_id=0
|
case_id=0
|
||||||
|
board_option="EVB"
|
||||||
|
|
||||||
while [[ "$#" > 0 ]]; do
|
while [[ "$#" > 0 ]]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
--cache) cache_option="yes"; shift;;
|
--cache) cache_option="yes"; shift;;
|
||||||
|
|
||||||
|
--evmy) board_option="EVMY"; shift;;
|
||||||
|
--evb) board_option="EVB"; shift;;
|
||||||
|
|
||||||
--cpri) fronthaul_option="cpri"; shift;;
|
--cpri) fronthaul_option="cpri"; shift;;
|
||||||
--jesd) fronthaul_option="jesd"; shift;;
|
--jesd) fronthaul_option="jesd"; shift;;
|
||||||
|
|
||||||
@ -43,6 +47,7 @@ if [ -d ${BUILD_DIR} ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${fronthaul_option}" == "jesd" ]]; then
|
if [[ "${fronthaul_option}" == "jesd" ]]; then
|
||||||
|
export BOARD_TYPE=${board_option}
|
||||||
chmod +x build_jesd.sh
|
chmod +x build_jesd.sh
|
||||||
source ./build_jesd.sh
|
source ./build_jesd.sh
|
||||||
cp ${RFIC_DIR}/librfic.a ${DIR_ROOT}/lib
|
cp ${RFIC_DIR}/librfic.a ${DIR_ROOT}/lib
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update --remote --recursive
|
||||||
|
|
||||||
pushd driver/rfic
|
pushd driver/rfic
|
||||||
|
git clean -dxf
|
||||||
|
git fetch
|
||||||
git checkout DEV
|
git checkout DEV
|
||||||
git pull
|
git pull
|
||||||
#git checkout commitid
|
#git checkout commitid
|
||||||
@ -11,5 +13,6 @@ git submodule init
|
|||||||
git submodule update
|
git submodule update
|
||||||
|
|
||||||
make clean
|
make clean
|
||||||
make lib
|
echo "#board_type:${BOARD_TYPE}"
|
||||||
|
make all board_type=${BOARD_TYPE}
|
||||||
popd
|
popd
|
@ -1 +1 @@
|
|||||||
Subproject commit 1f8aef08469197a952e766f439fc0bfbc9a28ea5
|
Subproject commit 8ea437815106d50f2230e0b3989f7f7174ac0fed
|
@ -1 +1 @@
|
|||||||
Subproject commit 7908793098da2a3fcc5da3f3f2831c84fe4947f7
|
Subproject commit 7bd0c4a6b87b70cf28b0c47eea74b731c9e90e38
|
Loading…
x
Reference in New Issue
Block a user