summaryrefslogtreecommitdiffstats
path: root/hash.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-08-24 10:34:45 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-08-24 10:37:38 -0400
commit1392896dcda33324d43392f8e99fed240cf5fb9b (patch)
treec3546b8e377aa31fbf49a45b00940e017c425812 /hash.cxx
parent5a77d0116da4bc1d5b41df3172ad78c537eff51a (diff)
downloadsystemtap-steved-1392896dcda33324d43392f8e99fed240cf5fb9b.tar.gz
systemtap-steved-1392896dcda33324d43392f8e99fed240cf5fb9b.tar.xz
systemtap-steved-1392896dcda33324d43392f8e99fed240cf5fb9b.zip
PR4186: cross-architecture probe building
* main.cxx (main): Add 'a:' and 'B:' options. * session.h (kbuildflags): New place to store -B args. * testsuite/systemtap.base/cmd_parse.exp: Test them lightly. * buildrun.cxx (run_make_cmd): Use "--no-print-directory" rather than ">/dev/null" in kbuild invocations. Pass '-a' and '-B' flags along. * hash.cxx (find_script_hash): Add them. * NEWS, stap.1.in: Mention this.
Diffstat (limited to 'hash.cxx')
-rw-r--r--hash.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/hash.cxx b/hash.cxx
index eac22f48..6e798f81 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -190,6 +190,9 @@ find_script_hash (systemtap_session& s, const string& script, const hash &base)
for (unsigned i = 0; i < s.macros.size(); i++)
h.add(s.macros[i]);
+ for (unsigned i = 0; i < s.kbuildflags.size(); i++)
+ h.add(s.kbuildflags[i]);
+
// -d MODULE
for (set<string>::iterator it = s.unwindsym_modules.begin();
it != s.unwindsym_modules.end();