LICENSE = "GPL"
RDEPENDS_${PN} = "kernel (${KERNEL_VERSION})"
DEPENDS = "virtual/kernel"
-PR = "r7"
+INC_PR = "r7"
WACKELF_SRC_URI = ""
WACKELF_SRC_URI_ixp4xx = " file://20-xscale-VFP-wackelf.patch"
EXTRA_OEMAKE_prepend_ixp4xxbe = "TARGET=xscale-be-elf "
do_compile() {
- oe_runmake all
-}
-
-do_stage() {
- install -d ${STAGING_INCDIR}/${PN}/include
- install -d ${STAGING_INCDIR}/${PN}/net80211
- cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/
- cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/
+ oe_runmake tools
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake modules
}
do_install() {
- install -d ${D}${sbindir}
- unset LDFLAGS
- oe_runmake DESTDIR=${D} BINDIR=${sbindir} install
+ oe_runmake DESTDIR=${D} BINDIR=${sbindir} MANDIR=${mandir} install-tools
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake DESTDIR=${D} BINDIR=${sbindir} MANDIR=${mandir} install-modules
+ install -d ${D}${includedir}/${PN}/include
+ install -m 644 include/compat.h ${D}${includedir}/${PN}/include
+ install -d ${D}${includedir}/${PN}/net80211
+ install -m 644 net80211/*.h ${D}${includedir}/${PN}/net80211
}
pkg_postinst() {
fi
}
-PACKAGES += "${PN}-modules ${PN}-tools"
+PACKAGES =+ "${PN}-modules ${PN}-tools"
FILES_${PN}-modules = "/lib/modules/"
-FILES_${PN}-tools = "/usr/"
+FILES_${PN}-tools = "${sbindir}/*"
DEFAULT_PREFERENCE_alix = "1"
DEFAULT_PREFERENCE_mpc8323e-rdb = "1"
-# Disable stripping of kernel modules, since this action strips too
-# much out, and the resulting module won't load.
-PACKAGE_STRIP = "no"
-
require madwifi-ng_r.inc
# PR set after the include, to override what's set in the included file.
-PR = "r1"
+PR = "${INC_PR}.0"
SRC_URI[md5sum] = "fe1758398de89fce57f05f9c1d1bb923"
SRC_URI[sha256sum] = "70cfa5eacd27d46a5e6f562b01769c64794d20ce4636cf133def7db7f0715efb"
# Bitbake recipe for the madwifi-ng driver
-# Disable stripping of kernel modules, since this action strips too
-# much out, and the resulting module won't load.
-PACKAGE_STRIP = "no"
-
require madwifi-ng_r.inc
SRC_URI += " \
"
# PR set after the include, to override what's set in the included file.
-PR = "r6"
+PR = "${INC_PR}.0"
SRC_URI[md5sum] = "2c7352cbbdac995de8c3bce5b80db5f2"
SRC_URI[sha256sum] = "0599c75b95ba63bdc554cb8124192e62c75fbeb71b9e8a5a7bc351c8e0666758"
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_slugos = "1"
-# Disable stripping of kernel modules, since this action strips too
-# much out, and the resulting module won't load.
-PACKAGE_STRIP = "no"
-
require madwifi-ng_r.inc
SRCNAME = "madwifi-trunk"
# PR set after the include, to override what's set in the included file.
-PR = "r1"
+PR = "${INC_PR}.0"
# It's not clear that we even need the wackelf patches any longer; certainly
# they are not required for ixp4xx builds. This needs testing on pxa270.
# Bitbake recipe for the madwifi-ng driver
-# Disable stripping of kernel modules, since this action strips too
-# much out, and the resulting module won't load.
-PACKAGE_STRIP = "no"
-
require madwifi-ng_r.inc
# Due to a minor Makefile restructuring, newer versions require an updated
SRCNAME = "madwifi-trunk"
# PR set after the include, to override what's set in the included file.
-PR = "r0"
+PR = "${INC_PR}.0"
SRC_URI[md5sum] = "aa88865c0fd11a0c0736af17a13c4f5a"
SRC_URI[sha256sum] = "d42b59fdac3972a9b0876789ed61e78ea13c34fefe7d819ac0fbf748070fecef"