From: Steve Reinhardt Date: Mon, 28 May 2007 22:39:35 +0000 (-0400) Subject: Fix M4 command line... wasn't working on zizzer. X-Git-Tag: m5_2.0_beta4~393^2~7^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dfd7f98045b734920db0c34b14e9f25307f22c0;p=gem5.git Fix M4 command line... wasn't working on zizzer. A little more concise now. --HG-- extra : convert_revision : 5cb46832ac7ce7a0be72765e83c8ceb5d8d4b64a --- 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'),