From 3b03945e092851a7f6b13d7c39f1b78ff0043a6f Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 24 Feb 2011 01:13:09 +0000 Subject: [PATCH] add kmod-oprofile to package/kernel (backport of r25690) git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25691 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index ffcb48ffd..53895bd8d 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -872,6 +872,21 @@ endef $(eval $(call KernelPackage,textsearch)) +define KernelPackage/oprofile + SUBMENU:=$(OTHER_MENU) + TITLE:=OProfile profiling support + KCONFIG:=CONFIG_OPROFILE + FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.$(LINUX_KMOD_SUFFIX) + DEPENDS:=@KERNEL_PROFILING @!LINUX_2_4 +endef + +define KernelPackage/oprofile/description + Kernel module for support for oprofile system profiling. +endef + +$(eval $(call KernelPackage,oprofile)) + + define KernelPackage/rfkill SUBMENU:=$(OTHER_MENU) TITLE:=RF switch subsystem support