Austin Harris has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/50259 )

Change subject: scons: Setup the m4 tool for libelf
......................................................................

scons: Setup the m4 tool for libelf

This resolves an error that SConsEnvironment has no attribute 'm4' on
some systems.

Change-Id: I9dfce277308d1939c3bd392f83dc49937884660e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50259
Reviewed-by: Gabe Black <[email protected]>
Maintainer: Gabe Black <[email protected]>
Tested-by: kokoro <[email protected]>
---
M ext/libelf/SConscript
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Gabe Black: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass




diff --git a/ext/libelf/SConscript b/ext/libelf/SConscript
index f3dbe6a..a5f3569 100644
--- a/ext/libelf/SConscript
+++ b/ext/libelf/SConscript
@@ -116,6 +116,9 @@
          "Please install M4 and try again.")
    Exit(1)

+# Setup m4 tool
+m4env.Tool('m4')
+
 m4env.Append(M4FLAGS=['-DSRCDIR=%s' % Dir('.').path])
 m4env['M4COM'] = '$M4 $M4FLAGS $SOURCES > $TARGET'
 m4env.M4(target=File('libelf_convert.c'),

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50259
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I9dfce277308d1939c3bd392f83dc49937884660e
Gerrit-Change-Number: 50259
Gerrit-PatchSet: 3
Gerrit-Owner: Austin Harris <[email protected]>
Gerrit-Reviewer: Austin Harris <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to