Skip to content

Commit

Permalink
1)Enabled protected update set tool installation for 64bit System
Browse files Browse the repository at this point in the history
  • Loading branch information
ying-css committed Oct 20, 2023
1 parent b8f1847 commit 268d0d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion ex_protected_update_data_set/Linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ install:
@echo "Create symbolic link to trustm_lib $(LIB_INSTALL_DIR)/$(LIB)"
@ln -s $(realpath $(BINDIR)/$(LIB)) $(LIB_INSTALL_DIR)/$(LIB)


uninstall: clean
@echo "Removing trustm_lib $(LIB_INSTALL_DIR)/$(LIB)"
@rm -rf $(LIB_INSTALL_DIR)/$(LIB)

clean :
@echo "Removing *.o from $(LIBDIR)"
@rm -rf $(LIBOBJ)
Expand Down
13 changes: 7 additions & 6 deletions trustm_installation_aarch64_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ git apply $FILE

set -e
echo "-----> Build Trust M Linux Tools for aarch64"
make clean
sudo make uninstall AARCH64=YES
make clean
make -j5 AARCH64=YES
sudo make install AARCH64=YES

#~ echo "-----> Build Protected Update Set tool"
#~ cd ex_protected_update_data_set/Linux/
#~ make clean
#~ make -j5 AARCH64=YES
#~ sudo make install AARCH64=YES
echo "-----> Build Protected Update Set tool"
cd ex_protected_update_data_set/Linux/
sudo make uninstall AARCH64=YES
make clean
make -j5 AARCH64=YES
sudo make install AARCH64=YES

#~cd $CURRENT_DIR
echo "-----> Installation completed. Back to ${PWD}"
Expand Down

0 comments on commit 268d0d3

Please sign in to comment.