SUBDIRS= vs M=
Posted Aug 26, 2004 17:10 UTC (Thu) by r2b2lewis
In reply to: SUBDIRS= vs M=
Parent article: Driver porting: compiling external modules
I am running on SuSE 9.1 (2.6.4-52-smp).
When I ran the make file using the line:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
the make ran quickly without error.
However, when I changed that line to:
$(MAKE) -C $(KDIR) M=$(PWD) modules
I seem to be making the entire kernel again.
What's up with that?
to post comments)