summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-05-28 18:39:35 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2007-05-28 18:39:35 -0400
commit8dfd7f98045b734920db0c34b14e9f25307f22c0 (patch)
tree5c3efe410f3331a44e5dda126a4ba03fac343d83
parent35147170f91ccbc73d3e75440a5301f758e54dfc (diff)
downloadgem5-8dfd7f98045b734920db0c34b14e9f25307f22c0.tar.xz
Fix M4 command line... wasn't working on zizzer.
A little more concise now. --HG-- extra : convert_revision : 5cb46832ac7ce7a0be72765e83c8ceb5d8d4b64a
-rw-r--r--ext/libelf/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libelf/SConscript b/ext/libelf/SConscript
index e909279d2..2fae8c25f 100644
--- a/ext/libelf/SConscript
+++ b/ext/libelf/SConscript
@@ -88,8 +88,8 @@ ElfFile('libelf_fsize.c')
ElfFile('libelf_msize.c')
m4env = Environment(ENV=os.environ)
-m4env.Append(M4FLAGS='-DSRCDIR=%s' % Dir('.'))
-m4env['M4COM'] = 'cd ${SOURCE.rsrcdir} && $M4 $M4FLAGS $SOURCES > ${TARGET.abspath}'
+m4env.Append(M4FLAGS='-DSRCDIR=%s' % Dir('.').path)
+m4env['M4COM'] = '$M4 $M4FLAGS $SOURCES > $TARGET'
m4env.M4(target=File('libelf_convert.c'),
source=[File('elf_types.m4'), File('libelf_convert.m4')])
m4env.M4(target=File('libelf_fsize.c'),