summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-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