Stonyx / QNAP-EC

GNU General Public License v3.0
57 stars 13 forks source link

Debian 12 Makefile fails #20

Open TheSilverSadist opened 1 week ago

TheSilverSadist commented 1 week ago

root@midgard:/home/MYUSERNAME/QNAP-EC# sudo make package DEBIAN=yes DESTDIR=/lib/modules/6.1.0-21-amd64 rm -f qnap-ec make -C /lib/modules/6.1.0-21-amd64/build M=/home/MYUSERNAME/QNAP-EC clean make[1]: Entering directory '/usr/lib/modules/6.1.0-21-amd64/build' make[1]: No rule to make target 'clean'. Stop. make[1]: Leaving directory '/usr/lib/modules/6.1.0-21-amd64/build' make: [Makefile:74: clean] Error 2

TheSilverSadist commented 1 week ago

Same error with

root@midgard:/home/MYUSERNAME/QNAP-EC# sudo make install rm -f qnap-ec make -C /lib/modules/6.1.0-21-amd64/build M=/home/MYUSERNAME/QNAP-EC clean make[1]: Entering directory '/usr/lib/modules/6.1.0-21-amd64/build' make[1]: No rule to make target 'clean'. Stop. make[1]: Leaving directory '/usr/lib/modules/6.1.0-21-amd64/build' make: [Makefile:74: clean] Error 2

irishj commented 1 week ago

Same issue here, but with Ubuntu running the 5.10.55 kernel.

root@ubntu-5:~/QNAP-EC# make install
rm -f qnap-ec
make -C /lib/modules/5.10.55-051055-generic/build M=/root/QNAP-EC clean
make[1]: Entering directory '/usr/lib/modules/5.10.55-051055-generic/build'
make[1]: *** No rule to make target 'clean'.  Stop.
make[1]: Leaving directory '/usr/lib/modules/5.10.55-051055-generic/build'
make: *** [Makefile:74: clean] Error 2