Beaglebone black kernel module makefile not working

hello I am currently testing out some sonar stuff and I have a kernel module for the pin configuration but when I hit make it gives me the error: “make: *** No targets specified and no makefile found. Stop.”

Attached is a picture of my Makefile.txt. Thank you.

1 Like

Hello…you say Makefile.txt is pictured.

Did you just want to call it Makefile and not Makefile.txt, maybe?


Are you sure you are in the correct directory.
Look for a typo

When it fails to build you need to run

$make clean



This worked. Thank you