Latest compat-drivers
Kalle Valo
kvalo at qca.qualcomm.com
Tue Apr 16 02:00:06 EDT 2013
Hi Eugene,
I started to looking at my compat-drivers compilation problems. But as
compat-drivers build system is being rewritten I instead started to
looking at the new system and it solved all my problems!
I think we should seriously consider using the new system, it's so much
better than the old one. Especially that we can now easily control what
we compile. As we are just interested about rfkill, cfg80211 and
mac80211 we can disable the rest.
I have wcn36xx now compiling against mako kernel, but I haven't tried
running it yet. Will do that soon.
Here are instructions how I compiled wcn36xx. I have also attached a
tarball containg the patches which I needed on top of yours.
git clone git://git.sipsolutions.net/backports.git
git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git clone git://github.com/KrasnikovEugene/wcn36xx.git
cd wcn36xx
patch -p1 < local/0002-Use-ieee80211_probereq_get-from-latest-mac80211.patch
patch -p1 < local/0003-Update-tx-ops-to-lates-mac80211.patch
patch -p1 < wcn36xx-chandef.patch
patch -p1 < wcn36xx-kconfig.patch
cd ../backports
patch -p1 < backports-wcn36xx.patch
./gentree.py --verbose --clean \
--copy-list copy-list.mac80211 \
--extra-driver ../ copy-list.wcn36xx \
../linux-next /var/tmp/output/
cd /var/tmp/output/
export CM_ROOT=/home/kvalo/cm/cm-10.1
export CM_BUILD=mako
make KLIB=$CM_ROOT/out/target/product/$CM_BUILD/obj/KERNEL_OBJ \
KLIB_BUILD=$CM_ROOT/out/target/product/$CM_BUILD/obj/KERNEL_OBJ \
ARCH=arm \
CROSS_COMPILE=$CM_ROOT/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
--
Kalle Valo
More information about the wcn36xx
mailing list