Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to Pass an Extra Option to 'elf2hex' in a BSP's 'mem_init.mk'
Hi, This is a question for someone who is familiar with the NIOS II building system. When executing 'make mem_init_generate' I want the extra option '--record=4' passed to elf2hex. It seem...
Altera_Forum
Honored Contributor
14 years agoIt might be possible to replace the 'elf2hex' binary seen by the script (eg put it earlier in $PATH) to an executable shell script that contians:
#!/bin/sh
exec /full_path/elf2hex --record=4 "$@"where 'full_path' is the real location of the program.