i don't understand how to build a simple driver i wrote
i looked into linux/Documentation/kbuild and read about makefile rules
but what make command do i issue ?
i tried :
make -C /usr/src/linux SUBDIRS=$pwd modules
that is what is explained in the docs ,
but this command started building all kernel modules
since -C flag is given ,
which puzzles me why the Documentatin instructed to
issue such command when all i need is build only my module
i tried :
make module_name
where my makefile is : obj-m :=module_name.o
but that gave errors about
: undefined reference to `printk'
--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]