2010-02-12 19:01:45 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
2010-09-05 23:15:43 +00:00
|
|
|
VIRTUAL_MENU:=Virtualization Support
|
2010-02-12 19:01:45 +00:00
|
|
|
|
2010-09-05 23:16:24 +00:00
|
|
|
define KernelPackage/virtio-balloon
|
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
|
|
|
TITLE:=VirtIO balloon driver
|
2010-09-05 23:19:24 +00:00
|
|
|
DEPENDS:=@TARGET_x86_kvm_guest
|
2010-09-05 23:16:24 +00:00
|
|
|
KCONFIG:=CONFIG_VIRTIO_BALLOON
|
2011-05-15 09:37:24 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/virtio/virtio_balloon.ko
|
2010-09-05 23:16:24 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,06,virtio-balloon)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/virtio-balloon/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for VirtIO memory ballooning support
|
2010-09-05 23:16:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,virtio-balloon))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/virtio-net
|
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
|
|
|
TITLE:=VirtIO network driver
|
2010-09-05 23:19:24 +00:00
|
|
|
DEPENDS:=@TARGET_x86_kvm_guest
|
2010-09-05 23:16:24 +00:00
|
|
|
KCONFIG:=CONFIG_VIRTIO_NET
|
2011-05-15 09:37:24 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/net/virtio_net.ko
|
2010-09-05 23:16:24 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,50,virtio_net)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/virtio-net/description
|
|
|
|
Kernel module for the VirtIO paravirtualized network device
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,virtio-net))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/virtio-random
|
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
|
|
|
TITLE:=VirtIO Random Number Generator support
|
2010-09-05 23:19:24 +00:00
|
|
|
DEPENDS:=@TARGET_x86_kvm_guest
|
2010-09-05 23:16:24 +00:00
|
|
|
KCONFIG:=CONFIG_HW_RANDOM_VIRTIO
|
2011-05-15 09:37:24 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/char/hw_random/virtio-rng.ko
|
2010-09-05 23:16:24 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,09,virtio-rng)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/virtio-random/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for the VirtIO Random Number Generator
|
2010-09-05 23:16:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,virtio-random))
|
|
|
|
|
2014-01-30 17:08:03 +00:00
|
|
|
|
|
|
|
define KernelPackage/xen-privcmd
|
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
|
|
|
TITLE:=Xen private commands
|
|
|
|
DEPENDS:=@TARGET_x86_xen_domu
|
|
|
|
KCONFIG:=CONFIG_XEN_PRIVCMD
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/xen/xen-privcmd.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,04,xen-privcmd)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/xen-privcmd/description
|
|
|
|
Kernel module for Xen private commands
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,xen-privcmd))
|
|
|
|
|
|
|
|
|
2010-02-12 19:01:45 +00:00
|
|
|
define KernelPackage/xen-fs
|
2010-09-05 23:15:43 +00:00
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
2010-02-12 19:01:45 +00:00
|
|
|
TITLE:=Xen filesystem
|
2014-01-30 17:08:03 +00:00
|
|
|
DEPENDS:=@TARGET_x86_xen_domu +kmod-xen-privcmd
|
2010-02-12 19:01:45 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_XENFS \
|
|
|
|
CONFIG_XEN_COMPAT_XENFS=y
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/xen/xenfs/xenfs.ko
|
2010-02-12 19:01:45 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,05,xenfs)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/xen-fs/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for the Xen filesystem
|
2010-02-12 19:01:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,xen-fs))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/xen-evtchn
|
2010-09-05 23:15:43 +00:00
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
2010-02-12 19:01:45 +00:00
|
|
|
TITLE:=Xen event channels
|
|
|
|
DEPENDS:=@TARGET_x86_xen_domu
|
|
|
|
KCONFIG:=CONFIG_XEN_DEV_EVTCHN
|
2012-05-17 15:28:02 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/xen/xen-evtchn.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,06,xen-evtchn)
|
2010-02-12 19:01:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/xen-evtchn/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for the /dev/xen/evtchn device
|
2010-02-12 19:01:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,xen-evtchn))
|
|
|
|
|
|
|
|
define KernelPackage/xen-fbdev
|
2010-09-05 23:15:43 +00:00
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
2010-02-12 19:01:45 +00:00
|
|
|
TITLE:=Xen virtual frame buffer
|
2012-07-24 19:43:27 +00:00
|
|
|
DEPENDS:=@TARGET_x86_xen_domu +kmod-fb
|
2010-02-12 19:01:45 +00:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_XEN_FBDEV_FRONTEND \
|
|
|
|
CONFIG_FB_DEFERRED_IO=y \
|
|
|
|
CONFIG_FB_SYS_COPYAREA \
|
|
|
|
CONFIG_FB_SYS_FILLRECT \
|
|
|
|
CONFIG_FB_SYS_FOPS \
|
|
|
|
CONFIG_FB_SYS_IMAGEBLIT \
|
|
|
|
CONFIG_FIRMWARE_EDID=n
|
|
|
|
FILES:= \
|
2015-03-29 16:11:28 +00:00
|
|
|
$(LINUX_DIR)/drivers/video/fbdev/xen-fbfront.ko \
|
2015-03-30 12:45:01 +00:00
|
|
|
$(LINUX_DIR)/drivers/video/fbdev/core/syscopyarea.ko \
|
|
|
|
$(LINUX_DIR)/drivers/video/fbdev/core/sysfillrect.ko \
|
|
|
|
$(LINUX_DIR)/drivers/video/fbdev/core/fb_sys_fops.ko \
|
|
|
|
$(LINUX_DIR)/drivers/video/fbdev/core/sysimgblt.ko
|
2010-02-12 19:01:45 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,07, \
|
|
|
|
fb \
|
|
|
|
syscopyarea \
|
|
|
|
sysfillrect \
|
|
|
|
fb_sys_fops \
|
|
|
|
sysimgblt \
|
|
|
|
xen-fbfront \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2010-03-23 15:24:54 +00:00
|
|
|
define KernelPackage/xen-fbdev/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for the Xen virtual frame buffer
|
2010-02-12 19:01:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,xen-fbdev))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/xen-kbddev
|
2010-09-05 23:15:43 +00:00
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
2010-02-12 19:01:45 +00:00
|
|
|
TITLE:=Xen virtual keyboard and mouse
|
2014-06-02 12:45:05 +00:00
|
|
|
DEPENDS:=@TARGET_x86_xen_domu +kmod-input-core
|
|
|
|
KCONFIG:=CONFIG_INPUT_MISC=y \
|
|
|
|
CONFIG_INPUT_XEN_KBDDEV_FRONTEND
|
2014-06-29 09:48:41 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/input/misc/xen-kbdfront.ko
|
2010-02-12 19:01:45 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,08,xen-kbdfront)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/xen-kbddev/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for the Xen virtual keyboard and mouse
|
2010-02-12 19:01:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,xen-kbddev))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/xen-netdev
|
2010-09-05 23:15:43 +00:00
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
2010-02-12 19:01:45 +00:00
|
|
|
TITLE:=Xen network device frontend
|
|
|
|
DEPENDS:=@TARGET_x86_xen_domu
|
|
|
|
KCONFIG:=CONFIG_XEN_NETDEV_FRONTEND
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/net/xen-netfront.ko
|
2010-02-12 19:01:45 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,09,xen-netfront)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/xen-netdev/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for the Xen network device frontend
|
2010-02-12 19:01:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,xen-netdev))
|
2011-02-23 20:13:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/xen-pcidev
|
|
|
|
SUBMENU:=$(VIRTUAL_MENU)
|
|
|
|
TITLE:=Xen PCI device frontend
|
2012-05-06 20:43:17 +00:00
|
|
|
DEPENDS:=@TARGET_x86_xen_domu
|
2011-02-23 20:13:40 +00:00
|
|
|
KCONFIG:=CONFIG_XEN_PCIDEV_FRONTEND
|
2012-08-05 08:16:50 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/pci/xen-pcifront.ko
|
2011-02-23 20:13:40 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,10,xen-pcifront)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/xen-pcidev/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel module for the Xen network device frontend
|
2011-02-23 20:13:40 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,xen-pcidev))
|