Merge pull request #292 from mfussenegger/raspi-xpad

add xpad joystick module to kernel config
This commit is contained in:
Kevin Mihelich 2012-10-28 09:11:16 -07:00
commit fca5f816e2
3 changed files with 12 additions and 8 deletions

View file

@ -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')

View file

@ -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

View file

@ -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