Forum Discussion
Altera_Forum
Honored Contributor
21 years agohi wentao,
Problem still not solved, I tried as you wrote and this error occured (my project directory is kernel_mod):/cygdrive/c/altera/kits/nios2/bin/eclipse/workspace/kernel_mod
$ make hwselect SYSPTF=/cygdrive/c/altera/kits/nios2/examples/ver
ilog/niosII_cyclone_1c20/linux/linux_1c20.ptf
make: *** No rule to make target `hwselect'. Stop.
/cygdrive/c/altera/kits/nios2/bin/eclipse/workspace/kernel_mod
$ I also tried to run this command in ...../linux-2.6.x/arch/nios2nomu dir, which contains Makefile, which produced the error with "hwselect" and I got another error: /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.ker
nel_0.1.5/linux-2.6.x/arch/nios2nommu
$ make hwselect SYSPTF=/cygdrive/c/altera/kits/nios2/examples/ver
ilog/niosII_cyclone_1c20/linux/linux_1c20.ptf
gcc: No input files
mkdir -p /arch/nios2nommu/
Can't open perl script "/arch/nios2nommu/scripts/hwselect.pl": No such file or d
irectory
make: *** Error 2
/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.ker
nel_0.1.5/linux-2.6.x/arch/nios2nommu
$ it is clear to me, that I need to compile all together, but I dont know where or how to specify appropriate PTF and it also the mystery for me, why another users did not received this error... only for completion - I use nios2linux_1.3, with regards jan