Forum Discussion
Altera_Forum
Honored Contributor
19 years agoThe steps to rebuild completely from a clean set goes:
make clean make linux_hwselect SYSPTF=insertyourptfhere.ptf make make linux make image The previous reply is correct that the PTF file needs to be in the kernel's base directory... in my case the linux-2.6.x directory. In case you would like to know more about it, the Makfile that eventually gets called to do the actual work is in uClinux-dist-test/linux-2.6.x/arch/nios2nommu/ And the PERL scripts that it uses are in the scripts folder. The script that asks you the questions is hwselect.pl and the script that generates the nios2_system.h file are gen_nios2_system.h.pl. Your answers to the questions are stored in the hardware.mk file.