diff options
author | Tommy Jerry Mairo | 2016-12-13 23:26:22 -0800 |
---|---|---|
committer | Tommy Jerry Mairo | 2016-12-13 23:26:22 -0800 |
commit | dcd6c9e051b1901d6b1ad6e2952aee37ef610ae9 (patch) | |
tree | 4b7a37a52aedf7625b93428fcf1b99e8e62deee5 | |
parent | 97587583915f830e0dac8907b1204c379872f440 (diff) | |
download | aur-dcd6c9e051b1901d6b1ad6e2952aee37ef610ae9.tar.gz |
Add raspberry support.
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,7 @@ pkgbase = rtl8192eu url = https://github.com/Mange/rtl8192eu-linux-driver install = rtl8192eu.install arch = x86_64 + arch = armv6h license = GPL makedepends = linux-headers makedepends = git @@ -3,7 +3,7 @@ pkgname=rtl8192eu pkgver=4.3.1.1 pkgrel=1 pkgdesc="Driver for the Realtek8192eu chipset." -arch=("x86_64") +arch=("x86_64" "armv6h") url="https://github.com/Mange/rtl8192eu-linux-driver" license=('GPL') depends=("dkms") @@ -19,6 +19,9 @@ build() { prepare(){ cd "rtl8192eu-linux-driver" patch Makefile<../fix.patch + if grep -q 'model name.*ARM' /proc/cpuinfo; then + sed -i -e 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/' -e 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/' Makefile + fi } package() { mkdir -p $pkgdir/usr/lib/modules/`uname -r`/kernel/drivers/net/wireless |