Re: Building a module from outside the kernel tree (was: Re: NVIDIA dkms srpms)

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

 



Hi.

On Mon, 9 Oct 2006 12:00:22 +0200, Matthias Saou wrote:

> But the files, especially the included Makefile, are meant for the
> module to be built at the same time as the kernel. The usual "make
> -C /lib/modules.../build -M `pwd`" doesn't work, and I'm really not
> familiar enough with makefiles, nor with the special makefile kernel
> magic to understand how to adapt this :
> 
> acx-common-y := wlan.o ioctl.o common.o
> acx-usb-y := usb.o
> acx-pci-y := pci.o
> 
> obj-$(CONFIG_ACX_PCI) += acx-common.o acx-pci.o
> obj-$(CONFIG_ACX_USB) += acx-common.o acx-usb.o

Try the following (no guarantees as I do not have the source here):
make -C /lib/modules.../build M=$(pwd) CONFIG_ACX_PCI=m CONFIG_ACX_USB=m

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux