diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-01-11 18:07:36 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-01-18 10:49:41 +0100 |
commit | 13d3e76d99dfcf53347d76b95ebff5ac7292f347 (patch) | |
tree | feadf76bc13a81a9d7c4307ff3ad51f927e3b7fe /meta-oe/recipes-kernel/compat-wireless | |
parent | 1edcda74a810c631107a8ec969ecd117bcdcff07 (diff) | |
download | meta-openembedded-13d3e76d99dfcf53347d76b95ebff5ac7292f347.tar.gz |
compat-wireless: upgrade and fixup
* use INC_PR
* fix RDEPENDS
* use normal PV
* move checksums from .inc to .bb
* upgrade, because old version fails to build with a lot of errors like this:
compat-wireless-3.5-rc5-1/include/linux/compat-3.5.h:102:8: error: redefinition of 'struct tc_fq_codel_xstats'
* 3.5.4-1, 3.6.8-1 can failed when kernel option is missing:
| compat-wireless-all/3.5.4-r1.0/compat-wireless-3.5.4-1/drivers/net/ethernet/broadcom/b44.c:2342:2:
error: implicit declaration of function 'ssb_pcihost_register' [-Werror=implicit-function-declaration]
| cc1: some warnings being treated as errors
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/compat-wireless')
-rw-r--r-- | meta-oe/recipes-kernel/compat-wireless/compat-wireless-all/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch (renamed from meta-oe/recipes-kernel/compat-wireless/files/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_0.bb | 1 | ||||
-rw-r--r-- | meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb | 5 | ||||
-rw-r--r-- | meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc | 14 |
4 files changed, 10 insertions, 10 deletions
diff --git a/meta-oe/recipes-kernel/compat-wireless/files/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch b/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch index 3a51266d0..3a51266d0 100644 --- a/meta-oe/recipes-kernel/compat-wireless/files/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch +++ b/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch | |||
diff --git a/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_0.bb b/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_0.bb deleted file mode 100644 index 1d3395f9e..000000000 --- a/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_0.bb +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | include compat-wireless.inc | ||
diff --git a/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb b/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb new file mode 100644 index 000000000..0c407defc --- /dev/null +++ b/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | include compat-wireless.inc | ||
2 | PR = "${INC_PR}.0" | ||
3 | |||
4 | SRC_URI[md5sum] = "f02849a795137438238b4d166609eacc" | ||
5 | SRC_URI[sha256sum] = "9bbbc72bf0adf73012f377caa38147e90f6d77ef0369b52f9a687bc66bbfbcfa" | ||
diff --git a/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc b/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc index faf1aabe6..30d52cc19 100644 --- a/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc +++ b/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc | |||
@@ -3,18 +3,17 @@ HOMEPAGE = "http://wireless.kernel.org/en/users/Download" | |||
3 | SECTION = "kernel/modules" | 3 | SECTION = "kernel/modules" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" | 5 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" |
6 | RDEPENDS = "wireless-tools" | 6 | RDEPENDS_${PN} = "wireless-tools" |
7 | PR = "r0" | 7 | INC_PR = "r1" |
8 | 8 | ||
9 | COMPAT_WIRELESS_VERSION = "3.5-rc5-1" | 9 | COMPAT_WIRELESS_VERSION = "${PV}-1" |
10 | SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | ||
10 | 11 | ||
11 | SRC_URI = " \ | 12 | SRC_URI = " \ |
12 | http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-${COMPAT_WIRELESS_VERSION}.tar.bz2 \ | 13 | http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v${SHRT_VER}/compat-wireless-${COMPAT_WIRELESS_VERSION}.tar.bz2 \ |
13 | file://0001-ath5k-fix-compilation-without-CONFIG_PCI.patch \ | 14 | file://0001-ath5k-fix-compilation-without-CONFIG_PCI.patch \ |
14 | " | 15 | " |
15 | 16 | ||
16 | PV = "${COMPAT_WIRELESS_VERSION}" | ||
17 | |||
18 | S = "${WORKDIR}/compat-wireless-${COMPAT_WIRELESS_VERSION}" | 17 | S = "${WORKDIR}/compat-wireless-${COMPAT_WIRELESS_VERSION}" |
19 | 18 | ||
20 | inherit module | 19 | inherit module |
@@ -28,6 +27,3 @@ do_configure_append() { | |||
28 | do_install() { | 27 | do_install() { |
29 | oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules | 28 | oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules |
30 | } | 29 | } |
31 | |||
32 | SRC_URI[md5sum] = "5d26bb5fd830ba67e920e0e4b2cff284" | ||
33 | SRC_URI[sha256sum] = "f77ec3afd7c8fb1d9583cb5c82cdc683816c7fc43cebebc1f0f029d172fcce9a" | ||