Signed-off-by: Tom Rini <tom_rini@mentor.com>
DEPENDS = "popt binutils"
RDEPENDS_${PN} += "binutils-symlinks"
RRECOMMENDS_${PN} += "kernel-vmlinux"
-INC_PR = "r12"
+INC_PR = "r13"
S = "${WORKDIR}/oprofile-${PV}"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz;name=tarball \
file://acinclude.m4 \
+ file://opcontrol-eval-fix.patch \
"
inherit autotools
--- /dev/null
+Index: oprofile/utils/opcontrol
+===================================================================
+--- oprofile.orig/utils/opcontrol
++++ oprofile/utils/opcontrol
+@@ -362,12 +362,12 @@ create_dir()
+
+ get_event()
+ {
+- GOTEVENT=`eval "echo \\$CHOSEN_EVENTS_$1"`
++ GOTEVENT=`eval "echo \"\\$CHOSEN_EVENTS_$1\""`
+ }
+
+ set_event()
+ {
+- eval "CHOSEN_EVENTS_$1=$2"
++ eval "CHOSEN_EVENTS_$1=\"$2\""
+ }
+
+