Commit fef1177e authored by Yann Garcia's avatar Yann Garcia
Browse files

Update scripts/update_its_project.bash, scripts/pki_generate_makefile.bash files

parent d08275ed
...@@ -241,9 +241,14 @@ sed --in-place "${ADD_RUN_LINE_3}" ./Makefile ...@@ -241,9 +241,14 @@ sed --in-place "${ADD_RUN_LINE_3}" ./Makefile
# Build all # Build all
make all 2>&1 3>&1 | tee --append build.log make all 2>&1 3>&1 | tee --append build.log
if [ "$?" == "1" ] if [ "$?" != "0" ]
then then
f_exit "Failed to generate ATS source code" 9 f_exit "Failed to generate ATS source code" 9
fi fi
echo ">>> ${LD_LIBRARY_PATH}" # For debug purpose only
../bin/Ats${ATS_NAME} -v ../bin/Ats${ATS_NAME} -v
if [ "$?" != "0" ]
then
f_exit "Failed to executte binary file Ats${ATS_NAME}" 10
fi
f_exit "Build done successfully" 0 f_exit "Build done successfully" 0
...@@ -381,6 +381,8 @@ do ...@@ -381,6 +381,8 @@ do
cp $i ${PATH_DEV_ITS}/include/asn1 cp $i ${PATH_DEV_ITS}/include/asn1
done done
ln -sf ${PATH_DEV_ITS}/bin/asn1/libItsAsn.so ${PATH_DEV_ITS}/lib/libItsAsn.so ln -sf ${PATH_DEV_ITS}/bin/asn1/libItsAsn.so ${PATH_DEV_ITS}/lib/libItsAsn.so
ls -ltr ${PATH_DEV_ITS}/lib
echo ${LD_LIBRARY_PATH}
#cp ${HOME}/frameworks/asn1c/skeletons/ANY.h ${PATH_DEV_ITS}/include/asn1 #cp ${HOME}/frameworks/asn1c/skeletons/ANY.h ${PATH_DEV_ITS}/include/asn1
cd ${OLDPWD} cd ${OLDPWD}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment