Showing that make[1]: *** No targets specified and no makefile found.
amitkray31 opened this issue · comments
make -C /lib/modules/4.19.6-1-MANJARO/build M=/home/akr/Downloads/CH341SER-master
make[1]: Entering directory '/usr/lib/modules/4.19.6-1-MANJARO/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/usr/lib/modules/4.19.6-1-MANJARO/build'
make: *** [Makefile:7: default] Error 2
OS:- Manjaor linux
Linux Kernel 4.19.6-1 LTS
make -C some_directory should contain Makefile from project path, not from /lib/modules/4.19.6-1-MANJARO/build path. Below is a result of building on my computer:
[juliagoda@juliagoda]: ~/Github/CH341SER/build>$ make -C ..
make: Wejście do katalogu '/home/juliagoda/Github/CH341SER'
make -C /lib/modules/4.19.2.ll5-2-juliagoda-git/build M=/home/juliagoda/Github/CH341SER
make[1]: Wejście do katalogu '/usr/lib/modules/4.19.2.ll5-2-juliagoda-git/build'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Opuszczenie katalogu '/usr/lib/modules/4.19.2.ll5-2-juliagoda-git/build'
make: Opuszczenie katalogu '/home/juliagoda/Github/CH341SER'
in your case it would be:
make -C /home/akr/Downloads/CH341SER-master
Make sure you have project sources in /home/akr/Downloads/CH341SER-master
Source:
Make options
Well, so if you have cloned to /home/akr, then do:
cd /home/akr
make
make load
Everything is written in readme.txt. Please next time send me email or read more about commands, because it's not even an issue. I am closing it