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 seems that I have to modify 'mem_init.mk' in the BSP directory, but the 'mem_init.mk' is generated automatically and my change will be overwritten next time I regenerate the BSP :cry:... So, what is the best place to set this? Thanks, -- Alex