[Linux-wlan-ng-devel] Bug#355411: linux-wlan-ng-source: Missing debian/tmp/lib when building

Victor Seva linuxmaniac at torreviejawireless.org
Wed Mar 8 15:20:56 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well I found the underling problem. I have created a way to choose the modules and I've updated the
docs. There was a problem on src/Makefile patch that makes the choose impossible. Solved on svn
waiting to the next upload if Enrico is agree with this solution.


<linux-wlan-ng.README>
 Building kernel modules for stock debian kernels:
- ------------------------------------------------

Run m-a in order to build linux-wlan-ng-modules.

If you want to choose wich type of modules will be built. You have to :

$cp /usr/src/modules/linux-wlan-ng-source/debian/config-for-lwng /usr/src/modul

Edit this new file choosing the modules you want to build, for example, if
you want to build only the usb driver:

# /usr/src/modules/linux-wlan-ng-source/debian/config-foo
# This script is sourced by the Configure script, when running in
# noninteractive mode.

if [ "$BUILD_MODULES" = "n" -o "$BUILD_UTILS" = "n" ] ; then
        # Just building the utilities. Kernel source may not be present;
        # don't fail.
        fail () {
                echo "Not failing since we are building only the utilities"
        }
fi

LINUX_SRC=$KSRC
PCMCIA_SRC=$PSRC
PRISM2_PCMCIA="n"
PRISM2_PLX="n"
PRISM2_PCI="n"
PRISM2_USB=$BUILD_MODULES
UTILS=$BUILD_UTILS
TARGET_ROOT_ON_HOST=$(pwd)/debian/tmp/
#EOF
</linux-wlan-ng.README>


eric.valette en free.fr wrote:
> Quoting Victor Seva <linuxmaniac en torreviejawireless.org>:
> 
> 
> Hi,
> 
> you can choose what modules are built changing the
> modules/linux-wlan-ng-source/debian/config-for-lwng file.
> 
> if you want only USB modules change the file like this...
> 
> PRISM2_PCMCIA="n"
> PRISM2_PLX="n"
> PRISM2_PCI="n"
> PRISM2_USB=$BUILD_MODULES
> 
> Please test this solution and reply the results.
> 
> 
> 
>> Cannot do that via the modules assistant package. Beside, the make config from
>> the original package ask this interactively but this is hidded by the debian
>> way of building.
> 
>> => even if it works it is not a valid option for non technical user.

- --
Victor Seva
linuxmaniac en torreviejawireless.org
http://www.torreviejawireless.org
http://linuxmaniac.homeip.net
jabber: linuxmaniac en jabber.torreviejawireless.org
PGP Key ID: 0xDD12F253
Socio numero 78 de ANURI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEDvZYS/DSSd0S8lMRAkQWAJ9yRAMZySXsqNMSmEknUvzpU2Vm3wCfYLoP
MXetocIyRWp8ffppSypgqw4=
=AWOk
-----END PGP SIGNATURE-----





More information about the Linux-wlan-ng-devel mailing list