1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:48:26 +02:00

[package] fix kmod-pcmcia-serial for 3.3+ kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31490 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-04-27 16:44:44 +00:00
parent ede1bee20b
commit 0d11882ac3

View File

@ -70,7 +70,11 @@ define KernelPackage/pcmcia-serial
CONFIG_PCMCIA_SERIAL_CS \
CONFIG_SERIAL_8250_CS
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1)
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3)),1)
FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
else
FILES:=$(LINUX_DIR)/drivers/tty/serial/serial_cs.ko
endif
else
FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.ko
endif