2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 XEN_MENU
:=Xen paravirtualized guest support
10 define KernelPackage
/xen-fs
13 DEPENDS
:=@TARGET_x86_xen_domu
16 CONFIG_XEN_COMPAT_XENFS
=y
17 FILES
:=$(LINUX_DIR
)/drivers
/xen
/xenfs
/xenfs.
$(LINUX_KMOD_SUFFIX
)
18 AUTOLOAD
:=$(call AutoLoad
,05,xenfs
)
21 define KernelPackage
/xen-fs
/description
22 Kernel module for the Xen filesystem
25 $(eval
$(call KernelPackage
,xen-fs
))
28 define KernelPackage
/xen-evtchn
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
)
37 define KernelPackage
/xen-evtchn
/description
38 Kernel module for the
/dev
/xen
/evtchn device
41 $(eval
$(call KernelPackage
,xen-evtchn
))
43 # FIXME: the FB support should be moved to a separate kmod
44 define KernelPackage
/xen-fbdev
46 TITLE
:=Xen virtual frame buffer
47 DEPENDS
:=@TARGET_x86_xen_domu
49 CONFIG_XEN_FBDEV_FRONTEND \
51 CONFIG_FB_DEFERRED_IO
=y \
52 CONFIG_FB_SYS_COPYAREA \
53 CONFIG_FB_SYS_FILLRECT \
55 CONFIG_FB_SYS_IMAGEBLIT \
56 CONFIG_FIRMWARE_EDID
=n
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, \
74 define KernelPackage
/xen-fs
/description
75 Kernel module for the Xen virtual frame buffer
78 $(eval
$(call KernelPackage
,xen-fbdev
))
81 define KernelPackage
/xen-kbddev
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
)
90 define KernelPackage
/xen-kbddev
/description
91 Kernel module for the Xen virtual keyboard and mouse
94 $(eval
$(call KernelPackage
,xen-kbddev
))
97 define KernelPackage
/xen-netdev
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
)
106 define KernelPackage
/xen-netdev
/description
107 Kernel module for the Xen network device frontend
110 $(eval
$(call KernelPackage
,xen-netdev
))