summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Dahl <post@lespocky.de>2014-10-21 23:49:13 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-11-13 10:25:09 +0100
commitb2573b2818475a7e60b63e7c46870e474fc185ec (patch)
treee5ce88362989edf468fb49cdb2971d4113ba4dcc
parent304e2e0184ff04179369cbec1c111894cd3d82ce (diff)
downloadptxdist-b2573b2818475a7e60b63e7c46870e474fc185ec.tar.gz
ptxdist-b2573b2818475a7e60b63e7c46870e474fc185ec.tar.xz
oprofile: fix kernel header path
Signed-off-by: Alexander Dahl <post@lespocky.de> [mol: add dependency on kernel headers] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/oprofile.in1
-rw-r--r--rules/oprofile.make2
2 files changed, 2 insertions, 1 deletions
diff --git a/rules/oprofile.in b/rules/oprofile.in
index 40ce60603..0ab81e123 100644
--- a/rules/oprofile.in
+++ b/rules/oprofile.in
@@ -16,6 +16,7 @@ menuconfig OPROFILE
select BUSYBOX_TR
select BINUTILS
select BINUTILS_OBJDUMP
+ select KERNEL_HEADER
prompt "oprofile "
help
oprofile user space executables including opcontrol, opreport and others
diff --git a/rules/oprofile.make b/rules/oprofile.make
index af4a8830b..c11324105 100644
--- a/rules/oprofile.make
+++ b/rules/oprofile.make
@@ -36,7 +36,7 @@ OPROFILE_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--target=$(PTXCONF_GNU_TARGET) \
--disable-gui \
- --with-kernel=$(KERNEL_HEADERS_INCLUDE_DIR) \
+ --with-kernel=$(KERNEL_HEADERS_DIR) \
--without-java \
--without-x