Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12578 Discussions

Call script before executing make

Altera_Forum
Honored Contributor II
1,038 Views

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 II
347 Views

NM I figured it out. 

 

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