Commit f31df50a authored by AlmAck's avatar AlmAck

kernel LTS 3.14.57

parent 959c66d3
......@@ -2,12 +2,12 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
pkgname=acpi_call-lts
_pkgname=acpi_call
pkgver=1.1.0
pkgrel=2
pkgrel=3
pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
arch=('x86_64')
url=("http://github.com/mkottman/acpi_call")
......
......@@ -2,12 +2,12 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
pkgname=bbswitch-lts
_pkgname=bbswitch
pkgver=0.8
pkgrel=5
pkgrel=6
pkgdesc="kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch=('x86_64')
url=("http://github.com/Bumblebee-Project/bbswitch")
......
......@@ -4,11 +4,11 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
pkgname=broadcom-wl-lts
pkgver=6.30.223.248
pkgrel=4
pkgver=6.30.223.271
pkgrel=1
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
arch=('x86_64')
url='http://www.broadcom.com/support/802.11/linux_sta.php'
......@@ -21,16 +21,16 @@ source=("http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-${pk
#"http://ftp.de.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta_5.100.82.112.orig.tar.gz" "http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${ARCH}-v${pkgver//./_}.tar.gz" we need the debian version, because upstream URL doesn't exist anymore
'modprobe.d'
'license.patch'
'gcc.patch')
sha1sums=('bd55f1fdc6b0a4d0a70dc4ba4bb4169a824e238c'
'wl_linux.c.patch')
sha1sums=('1f568bb989d175813c5631c6629d9479eae6f3be'
'89bf92286ede30dd85304c6c4e42e89cfdc0f60a'
'ea7b67982ddc0f56fd3becb9914fd4458fe7d373'
'8a940675e8c0baa65494c378e6155543b26a9a58')
'94e12ef9e64fde04a5bfb04858dd5be86a70e902')
prepare() {
cd "${srcdir}"
patch -p1 -i license.patch
patch -p1 -i gcc.patch
patch -p1 -i wl_linux.c.patch
sed -e "/BRCM_WLAN_IFNAME/s:eth:wlan:" \
-i src/wl/sys/wl_linux.c
......
--- a/Makefile 2014-06-26 10:42:08.000000000 +0000
+++ b/Makefile 2014-07-17 22:44:01.662297228 +0000
@@ -126,6 +126,8 @@
EXTRA_CFLAGS += -I$(src)/src/shared/bcmwifi/include
#EXTRA_CFLAGS += -DBCMDBG_ASSERT -DBCMDBG_ERR
+EXTRA_CFLAGS += -Wno-date-time
+
EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped
KBASE ?= /lib/modules/`uname -r`
diff --git a/src/wl/sys/wl_linux.c.orig b/src/wl/sys/wl_linux.c
index eb00717..489c9f5 100644
--- a/src/wl/sys/wl_linux.c.orig
+++ b/src/wl/sys/wl_linux.c
@@ -2166,8 +2166,8 @@ wl_start(struct sk_buff *skb, struct net_device *dev)
wlif = WL_DEV_IF(dev);
wl = WL_INFO(dev);
+ skb->prev = NULL;
if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) {
- skb->prev = NULL;
TXQ_LOCK(wl);
......@@ -2,15 +2,15 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
url_ref="http://support.amd.com/en-us/download/desktop?os=Linux+x86"
DLAGENTS="http::/usr/bin/curl --referer ${url_ref} -o %o %u"
pkgname=catalyst-lts
pkgver=14.12
pkgrel=2
_amdver=14.501.1003
pkgver=15.9
pkgrel=1
_amdver=15.201.1151
pkgdesc="AMD/ATI Catalyst drivers for linux. fglrx kernel module only"
arch=('x86_64')
url="http://www.amd.com"
......@@ -24,9 +24,7 @@ install=catalyst.install
url_ref="http://support.amd.com/en-us/download/desktop?os=Linux+x86"
DLAGENTS="http::/usr/bin/curl --referer ${url_ref} -o %o %u"
source=(
http://www2.ati.com/drivers/linux/amd-catalyst-omega-${pkgver}-linux-run-installers.zip
# http://archive.ubuntu.com/ubuntu/pool/restricted/f/fglrx-installer/fglrx-installer_14.201.orig.tar.gz
source=(http://www2.ati.com/drivers/linux/amd-catalyst-${pkgver}-linux-installer-${_amdver}-x86.x86_64.zip
ati_make.sh
ati-compat_alloc_user_space.patch
lano1106_fglrx_intel_iommu.patch
......@@ -35,7 +33,7 @@ source=(
kolasa_fglrx_312.patch
cold-fglrx-3.14-current_euid.patch)
md5sums=('ced4329274a02712406bda678ffbd743'
md5sums=('d2de2df6946b452c266a3c892e6e46ff'
'fd98b7e486d7fd4cad8de7b95b5b031e'
'21013e49598edfffa7f37b62b2d6a930'
'5184b94a2a40216a67996999481dd9ee'
......@@ -45,13 +43,9 @@ md5sums=('ced4329274a02712406bda678ffbd743'
'ba33b6ef10896d3e1b5e4cd96390b771')
build() {
## Unpack archive
# /bin/sh ./amd-catalyst-${pkgver}-linux-x86.x86_64.run --extract archive_files
/bin/sh ./fglrx-${_amdver}/amd-driver-installer-${_amdver}-x86.x86_64.run --extract archive_files
#mkdir common
#mv etc lib usr common
#mkdir archive_files
#mv arch common xpic xpic_64a archive_files
## Unpack archive
/bin/sh ./AMD-Catalyst-${pkgver}-Linux-installer-${_amdver}-x86.x86_64.run --extract archive_files
msg "Setting compilation variables ..."
# include ati_make.sh and use _ati_check function from it
......
......@@ -5,9 +5,8 @@ broadcom-wl-lts
acpi_call-lts
ndiswrapper-lts
#platform_packages
../platform/bbswitch-lts
../platform/nvidia-lts
../platform/nvidia-304xx-lts
../platform/nvidia-340xx-lts
../platform/catalyst-lts
bbswitch-lts
nvidia-lts
nvidia-304xx-lts
nvidia-340xx-lts
catalyst-lts
......@@ -6,8 +6,8 @@ pkgbase="linux-lts"
pkgname=('linux-lts' 'linux-lts-headers' 'linux-lts-docs')
_kernelname="-CHAKRA-LTS"
_basekernel=3.14
pkgver=3.14.44
pkgrel=3
pkgver=3.14.57
pkgrel=1
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
arch=('x86_64')
license=('GPL2')
......@@ -21,7 +21,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-$_basekernel.tar.xz"
'linux-lts.preset'
'change-default-console-loglevel.patch')
md5sums=('b621207b3f6ecbb67db18b13258f8ea8'
'd522100449d8c3428e2f2fbc0082b045'
'3d6b633d5c80988e9b107e0227b9383c'
'9fd7a4e21d3f8f31fb5baa91c43937f7'
'232b52576a62c7a333e9fe7a1e1ca359'
'98beb36f9b8cf16e58de2483ea9985e3')
......
......@@ -2,13 +2,13 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
_rootOfSourceTree=/usr/src/linux-${_kver}
pkgname=ndiswrapper-lts
_pkgname=ndiswrapper
pkgver=1.59
pkgrel=6
pkgrel=7
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
license=('GPL')
arch=('x86_64')
......
......@@ -2,11 +2,11 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
pkgname=nvidia-304xx-lts
pkgver=304.125
pkgrel=2
pkgver=304.128
pkgrel=1
pkgdesc="NVIDIA drivers for linux."
arch=('x86_64')
url="http://www.nvidia.com/"
......@@ -17,7 +17,7 @@ license=('custom')
install=nvidia.install
_pkg="NVIDIA-Linux-${arch}-${pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-${arch}/${pkgver}/${_pkg}.run")
md5sums=('291d41ccdbcc08f752a38f9e0a7eeea0')
md5sums=('6478e40ed87d9177cbfc3d0b6e39a051')
prepare() {
cd "${srcdir}"
......
......@@ -2,11 +2,11 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
pkgname=nvidia-340xx-lts
pkgver=340.76
pkgrel=2
pkgver=340.93
pkgrel=1
pkgdesc="NVIDIA drivers for linux."
arch=('x86_64')
url="http://www.nvidia.com/"
......@@ -17,7 +17,7 @@ license=('custom')
install=nvidia.install
_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
md5sums=('440df290e213280d6e20d4d4be6f8b4c')
md5sums=('cb80e3f1cb6f2fb6e6eab35fad0884e4')
prepare() {
sh "${_pkg}.run" --extract-only
......
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
pkgname=nvidia-lts
pkgver=346.59
pkgrel=2
pkgver=358.16
pkgrel=1
pkgdesc="NVIDIA drivers for linux."
arch=('x86_64')
url="http://www.nvidia.com/"
......@@ -18,27 +18,25 @@ license=('custom')
install=nvidia.install
_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
md5sums=('db1cebc2a78eac85777bb4c7c2c8c70c')
md5sums=('efb1e649c0e0d62e92774bbf2c124488')
prepare() {
sh ${_pkg}.run --extract-only
}
build() {
cd "${_pkg}/kernel"
make SYSSRC=/usr/lib/modules/"${_kver}/build" module
cd uvm
make SYSSRC=/usr/lib/modules/"${_kver}/build" module
cd "${_pkg}/kernel"
make SYSSRC=/usr/lib/modules/"${_kver}/build" module
}
package() {
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko"
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-uvm.ko" \
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko"
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko
install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nouveau_blacklist.conf"
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nouveau_blacklist.conf"
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
}
\ No newline at end of file
......@@ -4,12 +4,12 @@
_extramodules=extramodules-3.14-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)"
_kernelver=3.14.44
_kernelver=3.14.57
pkgname=vhba-module-lts
_pkgname=vhba-module
pkgver=20140928
pkgrel=2
pkgrel=3
pkgdesc="Kernel module that emulates SCSI devices"
arch=('x86_64')
url="http://cdemu.sourceforge.net/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment