patjak / facetimehd

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam
GNU General Public License v2.0
1.35k stars 160 forks source link

"no rule to make target 'camera'" error on Linux Mint/ MacBook Pro late 2013 #281

Open strider72 opened 1 year ago

strider72 commented 1 year ago

I have a new install of Linux Mint on a late 2013 MacBook Pro.

When I'm in the bcwc_pcie directory and run make, I get the following:

make -C /lib/modules/5.15.0-60-generic/build M=/home/steve/Documents/Macbook camera driver fix/bcwc_pcie modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-60-generic'
make[1]: *** No rule to make target 'camera'.  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-60-generic'
make: *** [Makefile:12: all] Error 2
strider72 commented 1 year ago

Basically figured it out as I was posting the question (and I just ran it to make sure). I figured I'd post anyway, as this may be useful to somebody else....

Answer: Do not have spaces in the path to the script folder. Changed the folder name, and the script ran fine. Thanks very much for the files and the tutorial. :-)