I now want to compile the r8125 drivers on a Tinycore VM. But I can't get it to work. I've installed the linux-6.12_api_headers, compile, etc., but I keep getting these messages during make:
make -C src/ clean
make[1]: Entering directory '/home/tc/r8125-9.016.00/src'
make -C /lib/modules/6.12.11-tinycore64/build M=/home/tc/r8125-9.016.00/src clean
make[2]: Entering directory '/lib/modules/6.12.11-tinycore64/build'
make[2]: *** No rule to make target 'clean'. Stop.
make[2]: Leaving directory '/lib/modules/6.12.11-tinycore64/build'
make[1]: *** [Makefile:208: clean] Error 2
make[1]: Leaving directory '/home/tc/r8125-9.016.00/src'
make: *** [Makefile:48: clean] Error 2