diff options
Diffstat (limited to 'meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc')
-rw-r--r-- | meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc b/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc new file mode 100644 index 000000000..faf1aabe6 --- /dev/null +++ b/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "Latest wireless drivers" | ||
2 | HOMEPAGE = "http://wireless.kernel.org/en/users/Download" | ||
3 | SECTION = "kernel/modules" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" | ||
6 | RDEPENDS = "wireless-tools" | ||
7 | PR = "r0" | ||
8 | |||
9 | COMPAT_WIRELESS_VERSION = "3.5-rc5-1" | ||
10 | |||
11 | SRC_URI = " \ | ||
12 | http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-${COMPAT_WIRELESS_VERSION}.tar.bz2 \ | ||
13 | file://0001-ath5k-fix-compilation-without-CONFIG_PCI.patch \ | ||
14 | " | ||
15 | |||
16 | PV = "${COMPAT_WIRELESS_VERSION}" | ||
17 | |||
18 | S = "${WORKDIR}/compat-wireless-${COMPAT_WIRELESS_VERSION}" | ||
19 | |||
20 | inherit module | ||
21 | |||
22 | EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" | ||
23 | |||
24 | do_configure_append() { | ||
25 | sed -i "s#@./scripts/update-initramfs## " Makefile | ||
26 | } | ||
27 | |||
28 | do_install() { | ||
29 | oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules | ||
30 | } | ||
31 | |||
32 | SRC_URI[md5sum] = "5d26bb5fd830ba67e920e0e4b2cff284" | ||
33 | SRC_URI[sha256sum] = "f77ec3afd7c8fb1d9583cb5c82cdc683816c7fc43cebebc1f0f029d172fcce9a" | ||