From 2b85db735b2f12f538e9f329d56d8d932431f736 Mon Sep 17 00:00:00 2001 From: Mathias Fussenegger Date: Sun, 28 Oct 2012 09:03:00 +0100 Subject: [PATCH] add xpad joystick module to kernel config --- core/linux-raspberrypi/PKGBUILD | 14 +++++++------- core/linux-raspberrypi/config | 4 ++++ core/linux-raspberrypi/linux-raspberrypi.install | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/core/linux-raspberrypi/PKGBUILD b/core/linux-raspberrypi/PKGBUILD index 7e1534873..5b9fc332d 100644 --- a/core/linux-raspberrypi/PKGBUILD +++ b/core/linux-raspberrypi/PKGBUILD @@ -10,7 +10,7 @@ _kernelname=${pkgname#linux} _basekernel=3.2 pkgver=${_basekernel}.27 pkgrel=13 -arch=('arm') +arch=('arm armv6h') url="http://www.kernel.org/" license=('GPL2') makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage' 'git' 'python2') @@ -21,12 +21,6 @@ source=('config' 'args-uncompressed.txt' 'boot-uncompressed.txt' 'imagetool-uncompressed.py') -md5sums=('c9fe5ea4adb0d245d4930e590327e8b4' - '9d3c56a4b999c8bfbd4018089a62f662' - 'd00814b57448895e65fbbc800e8a58ba' - '9335d1263fd426215db69841a380ea26' - 'a00e424e2fbb8c5a5f77ba2c4871bed4' - '2f82dbe5752af65ff409d737caf11954') build() { git clone --depth 1 https://github.com/raspberrypi/linux.git @@ -263,3 +257,9 @@ package_linux-headers-raspberrypi() { # remove unneeded architectures rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,x86,xtensa} } +md5sums=('8eaee87aca8c6f4d68ff1f58d3e26573' + '9d3c56a4b999c8bfbd4018089a62f662' + 'd00814b57448895e65fbbc800e8a58ba' + '9335d1263fd426215db69841a380ea26' + 'a00e424e2fbb8c5a5f77ba2c4871bed4' + '2f82dbe5752af65ff409d737caf11954') diff --git a/core/linux-raspberrypi/config b/core/linux-raspberrypi/config index 84c1df733..e98ba4e1d 100644 --- a/core/linux-raspberrypi/config +++ b/core/linux-raspberrypi/config @@ -1371,6 +1371,10 @@ CONFIG_INPUT_EVDEV=m # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set # CONFIG_INPUT_TOUCHSCREEN is not set +CONFIG_INPUT_JOYSTICK=y +CONFIG_JOYSTICK_XPAD=m +CONFIG_JOYSTICK_XPAD_FF=y +CONFIG_JOYSTICK_XPAD_LEDS=y CONFIG_INPUT_MISC=y CONFIG_INPUT_AD714X=m CONFIG_INPUT_AD714X_I2C=m diff --git a/core/linux-raspberrypi/linux-raspberrypi.install b/core/linux-raspberrypi/linux-raspberrypi.install index d4d6d6836..03b61c729 100644 --- a/core/linux-raspberrypi/linux-raspberrypi.install +++ b/core/linux-raspberrypi/linux-raspberrypi.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME=-raspberrypi -KERNEL_VERSION=3.1.9-16-ARCH+ +KERNEL_VERSION=3.2.27-13-ARCH+ post_install () { # updating module dependencies