Search Linux Wireless

Re: Backporting wl1271 driver to kernel-2.6.32 using compat-wireless

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

 



On Wed, Dec 22, 2010 at 13:30, Elvis Dowson <elvis.dowson@xxxxxxx> wrote:

    Hi,
                     I have a quick question.

    I downloaded the
http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.37/compat-wireless-2.6.37-rc6-3.tar.bz2

    The information contained in this link mentions:
http://linuxwireless.org/en/users/Download/stable/

    "You need kernel headers to compile compat-wireless. Ensure
/lib/modules/$(uname -r)/build/ exists and points to the location
where the kernel headers are installed. If you do not have them, read
your distribution's documentation on getting help."

    I have Ubuntu 10.04 as host, but I'm using a cross compiler for
the OMAP3530 ARM target, and the kernel directory exists in a separate
folder.

    How do I tell the build system to use my cross compiled kernel
libraries and headers, and not pick up the host /lib/modules kernel
headers?

 export CROSS_COMPILE=arm-none-linux-gnueabi-
May be also
export ARCH=arm

    i.e. how can I cross compile and build compat-wireless for the ARM
target on the host machine?

    cd /path/to/compat-wireless-2.6.32-rc5

copy appropriate configuration file to   /path/to/compat-wireless-2.6.

    32-rc5/.config

May also need to add configuration

    ./scripts/driver-select <driver-name>
    make
    sudo make install

It may be works without `sudo '. If you want all modules also
make modules_install INSTALL_MOD_PATH=${NFSROOT}
where NFSROOT is your directory to prepare filesystem for target


    Best regards,

    Elvis Dowson

    --
    To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
    the body of a message to majordomo@xxxxxxxxxxxxxxx
    More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gery
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux