Problem in compiling a kernel module
Prashant Shah
pshah.mumbai at gmail.com
Sun Jul 10 02:45:53 EDT 2011
Hi,
On Sun, Jul 10, 2011 at 11:36 AM, Ponkumaran Annadurai
<aspkumaran at gmail.com> wrote:
>
> Also I couldn't understand the script (particularly $(MAKE) - what does the
> variable stands for? also the rest of the code after "depend.depend.dep").
> If you can explain the script, I shall know how to edit the script for my
> file.
Edit the Makefile and add the following echo's
default:
echo $(MAKE)
echo $(KERNELDIR)
echo $(PWD)
$(MAKE) -C $(KERNELDIR) M=$(PWD)
You can try echoing the values of the variables. The $(MAKE) is the
make command used.
More information about the Kernelnewbies
mailing list