1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 20:04:05 +02:00

[package] kernel: fix kmod-xen-evtchn for Linux 2.6.37+

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25668 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-02-23 20:13:40 +00:00
parent 9aafb4adbe
commit 99e7aae35f

View File

@ -78,8 +78,13 @@ define KernelPackage/xen-evtchn
TITLE:=Xen event channels TITLE:=Xen event channels
DEPENDS:=@TARGET_x86_xen_domu DEPENDS:=@TARGET_x86_xen_domu
KCONFIG:=CONFIG_XEN_DEV_EVTCHN KCONFIG:=CONFIG_XEN_DEV_EVTCHN
FILES:=$(LINUX_DIR)/drivers/xen/evtchn.ko ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1)
AUTOLOAD:=$(call AutoLoad,06,evtchn) FILES:=$(LINUX_DIR)/drivers/xen/xen-evtchn.ko
AUTOLOAD:=$(call AutoLoad,06,xen-evtchn)
else
FILES:=$(LINUX_DIR)/drivers/xen/evtchn.ko
AUTOLOAD:=$(call AutoLoad,06,evtchn)
endif
endef endef
define KernelPackage/xen-evtchn/description define KernelPackage/xen-evtchn/description
@ -156,3 +161,19 @@ define KernelPackage/xen-netdev/description
endef endef
$(eval $(call KernelPackage,xen-netdev)) $(eval $(call KernelPackage,xen-netdev))
define KernelPackage/xen-pcidev
SUBMENU:=$(VIRTUAL_MENU)
TITLE:=Xen PCI device frontend
DEPENDS:=@TARGET_x86_xen_domu
KCONFIG:=CONFIG_XEN_PCIDEV_FRONTEND
FILES:=$(LINUX_DIR)/drivers/net/xen-pcifront.ko
AUTOLOAD:=$(call AutoLoad,10,xen-pcifront)
endef
define KernelPackage/xen-pcidev/description
Kernel module for the Xen network device frontend
endef
$(eval $(call KernelPackage,xen-pcidev))