summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-01-06 13:53:20 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-01-06 13:53:20 -0500
commit6046b840e1b9e79ae535eb6027a98757be0673fa (patch)
treea686cb9c3b5f13644efcc5d64d40464ec903c587
parente100f0744e77c5270dd8347f78bb97ee2aab878f (diff)
downloadsystemtap-steved-6046b840e1b9e79ae535eb6027a98757be0673fa.tar.gz
systemtap-steved-6046b840e1b9e79ae535eb6027a98757be0673fa.tar.xz
systemtap-steved-6046b840e1b9e79ae535eb6027a98757be0673fa.zip
build: note inapplicability of kernel kbuild O=dir usr/include headers.
-rw-r--r--buildrun.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index cef1b11a..93e8c0cc 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -102,6 +102,10 @@ compile_pass (systemtap_session& s)
// but that path does not exist in an O= build tree.
o << module_cflags << " += -Iinclude2/asm/mach-default" << endl;
+ // NB: don't try
+ // o << module_cflags << " += -Iusr/include" << endl;
+ // since such headers are cleansed of _KERNEL_ pieces that we need
+
o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-hrtimer-rel.c, -DSTAPCONF_HRTIMER_REL,)" << endl;
o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-hrtimer-getset-expires.c, -DSTAPCONF_HRTIMER_GETSET_EXPIRES,)" << endl;
o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-inode-private.c, -DSTAPCONF_INODE_PRIVATE,)" << endl;