Re: build system: no module target ending with slash?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 03, 2007 at 06:25:11AM +0200, Sam Ravnborg wrote:
> On Thu, May 03, 2007 at 12:43:43AM +0200, Christian Hesse wrote:
> > Hi James, hi everybody,
> > 
> > playing with iwlwifi I try to patch it into the kernel and to build it from 
> > there. But I have a problem with the build system.
> > 
> > The file drivers/net/wireless/mac80211/Makefile contains one single line:
> > 
> > obj-$(CONFIG_IWLWIFI)   += iwlwifi/
> > 
> > When CONFIG_IWLWIFI=m in scripts/Makefile.lib line 29 the target is filtered 
> > as it ends with a slash. That results in 
> > drivers/net/wireless/mac80211/built-in.o not being built and the build 
> > process breaks with an error. What is the correct way to handle this? Why are 
> > targets ending with a slash filtered?
> 
> Looks buggy. I will take a look tonight.
After some coffee...

Line 29 in Kbuild.include find all modules and a directory is not a module.
In line 26 in same file the directory iwlwifi is included in the list
of directories to visit.
So there is something else going on.

Anywhere I can get access to the combined source or could you try to post the full
Makefile.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux