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.ko
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.ko
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.ko \
59 $(LINUX_DIR
)/drivers
/video
/fb.ko \
60 $(LINUX_DIR
)/drivers
/video
/syscopyarea.ko \
61 $(LINUX_DIR
)/drivers
/video
/sysfillrect.ko \
62 $(LINUX_DIR
)/drivers
/video
/fb_sys_fops.ko \
63 $(LINUX_DIR
)/drivers
/video
/sysimgblt.ko
64 AUTOLOAD
:=$(call AutoLoad
,07, \
74 define KernelPackage
/xen-fbdev
/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.ko
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.ko
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
))