Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
721 Views

Call script before executing make

Is there a way to execute a script before building a project? 

 

I've tried modifying the build command a couple different ways but nothing seems to work: 

 

perl version.pl; make -j 

perl ${workspace_loc://gsi_fw}\version.pl; make -j  

perl ${PWD}\version.pl; make -j 

bash "perl /cygdrive/c/projects/GSI/system/gsi_proc/software/gsi_fw/version.pl"; make -j all  

 

 

 

I keep getting 'No such file or directory' 

 

perl C:\projects\GSI\system\gsi_proc\software\gsi_fw\version.pl; make -j all  

Can't open perl script "C:\projects\GSI\system\gsi_proc\software\gsi_fw\version.pl;": No such file or directory 

 

 

Thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
30 Views

NM I figured it out. 

 

bash ${workspace_loc://gsi_fw}\custom_build.sh
Reply