1 # Bitbake recipe for the madwifi-ng driver
3 # Disable stripping of kernel modules, since this action strips too
4 # much out, and the resulting module won't load.
5 INHIBIT_PACKAGE_STRIP = "1"
7 require madwifi-ng_r.inc
9 # PR set after the include, to override what's set in the included file.
12 SRC_URI += "http://sources.dreamboxupdate.com/download/snapshots/openwrt_madwifi_patches_20080829.tar.bz2 \
13 http://sources.dreamboxupdate.com/download/snapshots/ath_hal-20080815.tgz \
14 file://40-fix-warnings.patch;patch=1;pnum=1"
17 rm -rf ${S}/hal || /bin/true
18 mv ${WORKDIR}/ath_hal-20080815 ${S}/hal
21 for i in `ls ${WORKDIR}/openwrt_madwifi_patches | grep ".patch" | sort -n | xargs`; do
22 oenote "Applying openwrt madwifi patch '$i'";
23 patch -p1 < ${WORKDIR}/openwrt_madwifi_patches/$i;
28 addtask munge before do_compile after do_patch
30 # We really must clear out LDFLAGS to get this to link.