Hi,
I want to add a driver to kernel source tree.
I modified the config.in and the menu items are being shown in make
menuconfig.
After menuconfig , my .config contains the following entry
CONFIG_MYUSB=y
My make file follows
M_OBJS := usb.o
obj-$(CONFIG_MYUSB) += usb.o
export-objs := usb.o
include $(TOPDIR)/Rules.make
on make bzImage,
<snip>
But no file is being compiled in. If i give
#gcc -DMODULE -D__KERNEL__ usb.c -c
it gets compiled.
Any idea?
Thanks and regards,
om.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/