[kernel]: partly revert [19925] as the ata version builds fine
[openwrt.git] / package / kernel / modules / xen.mk
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 XEN_MENU:=Xen paravirtualized guest support
9
10 define KernelPackage/xen-fs
11 SUBMENU:=$(XEN_MENU)
12 TITLE:=Xen filesystem
13 DEPENDS:=@TARGET_x86_xen_domu
14 KCONFIG:= \
15 CONFIG_XENFS \
16 CONFIG_XEN_COMPAT_XENFS=y
17 FILES:=$(LINUX_DIR)/drivers/xen/xenfs/xenfs.$(LINUX_KMOD_SUFFIX)
18 AUTOLOAD:=$(call AutoLoad,05,xenfs)
19 endef
20
21 define KernelPackage/xen-fs/description
22 Kernel module for the Xen filesystem
23 endef
24
25 $(eval $(call KernelPackage,xen-fs))
26
27
28 define KernelPackage/xen-evtchn
29 SUBMENU:=$(XEN_MENU)
30 TITLE:=Xen event channels
31 DEPENDS:=@TARGET_x86_xen_domu
32 KCONFIG:=CONFIG_XEN_DEV_EVTCHN
33 FILES:=$(LINUX_DIR)/drivers/xen/evtchn.$(LINUX_KMOD_SUFFIX)
34 AUTOLOAD:=$(call AutoLoad,06,evtchn)
35 endef
36
37 define KernelPackage/xen-evtchn/description
38 Kernel module for the /dev/xen/evtchn device
39 endef
40
41 $(eval $(call KernelPackage,xen-evtchn))
42
43 # FIXME: the FB support should be moved to a separate kmod
44 define KernelPackage/xen-fbdev
45 SUBMENU:=$(XEN_MENU)
46 TITLE:=Xen virtual frame buffer
47 DEPENDS:=@TARGET_x86_xen_domu
48 KCONFIG:= \
49 CONFIG_XEN_FBDEV_FRONTEND \
50 CONFIG_FB \
51 CONFIG_FB_DEFERRED_IO=y \
52 CONFIG_FB_SYS_COPYAREA \
53 CONFIG_FB_SYS_FILLRECT \
54 CONFIG_FB_SYS_FOPS \
55 CONFIG_FB_SYS_IMAGEBLIT \
56 CONFIG_FIRMWARE_EDID=n
57 FILES:= \
58 $(LINUX_DIR)/drivers/video/xen-fbfront.$(LINUX_KMOD_SUFFIX) \
59 $(LINUX_DIR)/drivers/video/fb.$(LINUX_KMOD_SUFFIX) \
60 $(LINUX_DIR)/drivers/video/syscopyarea.$(LINUX_KMOD_SUFFIX) \
61 $(LINUX_DIR)/drivers/video/sysfillrect.$(LINUX_KMOD_SUFFIX) \
62 $(LINUX_DIR)/drivers/video/fb_sys_fops.$(LINUX_KMOD_SUFFIX) \
63 $(LINUX_DIR)/drivers/video/sysimgblt.$(LINUX_KMOD_SUFFIX)
64 AUTOLOAD:=$(call AutoLoad,07, \
65 fb \
66 syscopyarea \
67 sysfillrect \
68 fb_sys_fops \
69 sysimgblt \
70 xen-fbfront \
71 )
72 endef
73
74 define KernelPackage/xen-fs/description
75 Kernel module for the Xen virtual frame buffer
76 endef
77
78 $(eval $(call KernelPackage,xen-fbdev))
79
80
81 define KernelPackage/xen-kbddev
82 SUBMENU:=$(XEN_MENU)
83 TITLE:=Xen virtual keyboard and mouse
84 DEPENDS:=@TARGET_x86_xen_domu
85 KCONFIG:=CONFIG_XEN_KBDDEV_FRONTEND
86 FILES:=$(LINUX_DIR)/drivers/input/xen-kbdfront.$(LINUX_KMOD_SUFFIX)
87 AUTOLOAD:=$(call AutoLoad,08,xen-kbdfront)
88 endef
89
90 define KernelPackage/xen-kbddev/description
91 Kernel module for the Xen virtual keyboard and mouse
92 endef
93
94 $(eval $(call KernelPackage,xen-kbddev))
95
96
97 define KernelPackage/xen-netdev
98 SUBMENU:=$(XEN_MENU)
99 TITLE:=Xen network device frontend
100 DEPENDS:=@TARGET_x86_xen_domu
101 KCONFIG:=CONFIG_XEN_NETDEV_FRONTEND
102 FILES:=$(LINUX_DIR)/drivers/net/xen-netfront.$(LINUX_KMOD_SUFFIX)
103 AUTOLOAD:=$(call AutoLoad,09,xen-netfront)
104 endef
105
106 define KernelPackage/xen-netdev/description
107 Kernel module for the Xen network device frontend
108 endef
109
110 $(eval $(call KernelPackage,xen-netdev))
This page took 0.045826 seconds and 5 git commands to generate.