Răsfoiți Sursa

add kmod-oprofile to package/kernel

SVN-Revision: 25690
Felix Fietkau 15 ani în urmă
părinte
comite
cf3b7563cf
1 a modificat fișierele cu 15 adăugiri și 0 ștergeri
  1. 15 0
      package/kernel/modules/other.mk

+ 15 - 0
package/kernel/modules/other.mk

@@ -663,6 +663,21 @@ endef
 $(eval $(call KernelPackage,mmc-atmelmci,1))
 
 
+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
+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