--- Omanakuttan <omanakuttan@tataelxsi.co.in> wrote: > 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 Did you put your driver code in a new directory? If so, you might have to add the following line to the Makefile one level above your directory: 'subdir-$(CONFIG_MYUSB) += my_subdir' Without this, 'make bzImage' (or 'make modules') will not enter the new subdirectory at all. Hope this helps, Ravi. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/