I'm quite new to Linux Kernel Development, and I have an issue trying to build my device drivers so that I can test them and run the
strace command on them. However, for some reason, in any directory (within the staging directory, such as greybus or netlogic), when I run the command
make, I always get the same error. I'm using this tutorial (header: Compiling only part of the kernel) which details the compiling process.
make: *** No targets. Stop.
I have no idea why this is showing up. Just, as an example, there is a Makefile in the greybus directory and it does have targets. This is the Makefile:
# Greybus core greybus-y := core.o \ debugfs.o \ hd.o \ manifest.o \ module.o \ interface.o \ bundle.o \ connection.o \ control.o \ svc.o \ svc_watchdog.o \ operation.o obj-$(CONFIG_GREYBUS) += greybus.o # needed for trace events ccflags-y += -I$(src) # Greybus Host controller drivers gb-es2-y := es2.o