Re: compiling "hello world" kernel module on 2.6 kernel

From: Espen Fjellvær Olsen
Date: Sat May 07 2005 - 09:06:56 EST


On 5/7/05, li nux <lnxluv@xxxxxxxxx> wrote:
>
> default:
> $(MAKE) -C $(KERNELDIR) M=$(PWD) modules

Try changing this to:
" $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules"


--
Mvh / Best regards
Espen Fjellvær Olsen
espenfjo@xxxxxxxxx
Norway
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/