From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] oprofile: fix kernel header path
Date: Tue, 21 Oct 2014 23:49:13 +0200 [thread overview]
Message-ID: <1413928155-14799-2-git-send-email-post@lespocky.de> (raw)
In-Reply-To: <1413928155-14799-1-git-send-email-post@lespocky.de>
Signed-off-by: Alexander Dahl <post@lespocky.de>
---
rules/oprofile.make | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/rules/oprofile.make b/rules/oprofile.make
index af4a883..dabf5f8 100644
--- a/rules/oprofile.make
+++ b/rules/oprofile.make
@@ -36,10 +36,15 @@ OPROFILE_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--target=$(PTXCONF_GNU_TARGET) \
--disable-gui \
- --with-kernel=$(KERNEL_HEADERS_INCLUDE_DIR) \
--without-java \
--without-x
+ifdef PTXCONF_KERNEL_HEADER
+ OPROFILE_CONF_OPT += --with-kernel=$(KERNEL_HEADERS_DIR)
+else
+ OPROFILE_CONF_OPT += --without-kernel
+endif
+
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
--
1.7.10.4
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2014-10-21 21:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 21:49 [ptxdist] oprofile: 2 patches Alexander Dahl
2014-10-21 21:49 ` Alexander Dahl [this message]
2014-10-21 21:49 ` [ptxdist] [PATCH 2/2] oprofile: targetinstall missing and additional binaries Alexander Dahl
2014-11-13 16:44 ` [ptxdist] oprofile: 2 patches Michael Olbrich
2014-11-14 10:06 ` Alexander Dahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413928155-14799-2-git-send-email-post@lespocky.de \
--to=post@lespocky.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox