summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-10-06 12:32:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-10-06 12:32:59 +0000
commit6ce1936708c226ae3ba0f5bcef8d167702c36533 (patch)
treee4d9cfba16c24c3832b815afaf251c04772480a1
parent2686dc6dd84b7e9745260664c1572d012854e73a (diff)
downloadmtk-20170518-6ce1936708c226ae3ba0f5bcef8d167702c36533.zip
mtk-20170518-6ce1936708c226ae3ba0f5bcef8d167702c36533.tar.gz
mtk-20170518-6ce1936708c226ae3ba0f5bcef8d167702c36533.tar.bz2
oprofile: drop kmod-oprofile dependency, it uses the perf API now
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47147
-rw-r--r--package/devel/oprofile/Makefile2
-rw-r--r--package/devel/oprofile/patches/200-add_mips_1004kc.patch10
2 files changed, 11 insertions, 1 deletions
diff --git a/package/devel/oprofile/Makefile b/package/devel/oprofile/Makefile
index b1808a3..cdeeec2 100644
--- a/package/devel/oprofile/Makefile
+++ b/package/devel/oprofile/Makefile
@@ -32,7 +32,7 @@ define Package/oprofile
CATEGORY:=Development
TITLE:=OProfile System Profiler
URL:=http://oprofile.sourceforge.net
- DEPENDS:=+libpopt +kmod-oprofile +libstdcpp +objdump +librt @(!TARGET_uml||BROKEN)
+ DEPENDS:=+libpopt +libstdcpp +objdump +librt @(!TARGET_uml||BROKEN)
endef
define Package/oprofile/description
diff --git a/package/devel/oprofile/patches/200-add_mips_1004kc.patch b/package/devel/oprofile/patches/200-add_mips_1004kc.patch
new file mode 100644
index 0000000..038cd7d
--- /dev/null
+++ b/package/devel/oprofile/patches/200-add_mips_1004kc.patch
@@ -0,0 +1,10 @@
+--- a/libop/op_cpu_type.c
++++ b/libop/op_cpu_type.c
+@@ -609,6 +609,7 @@ static struct mips_cpu_descr mips_cpu_de
+ { .key = "MIPS 25Kc", .value = "mips/25K" }, /* CPU_25KF */
+ { .key = "MIPS 34Kc", .value = "mips/34K" }, /* CPU_34K */
+ { .key = "MIPS 74Kc", .value = "mips/74K" }, /* CPU_74K */
++ { .key = "MIPS 1004Kc", .value = "mips/1004K" }, /* CPU_1004K */
+ { .key = "MIPS M14Kc", .value = "mips/M14Kc" }, /* CPU_M14KC */
+ { .key = "RM9000", .value = "mips/rm9000" }, /* CPU_RM9000 */
+ { .key = "R10000", .value = "mips/r10000" }, /* CPU_R10000 */