Jason Lowe-Power has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/64012?usp=email )

Change subject: scons: Fix variable not found error
......................................................................

scons: Fix variable not found error

Change-Id: I09708fea777a57a35e55409c8997ed0b25de2b46
Signed-off-by: Jason Lowe-Power <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/64012
Tested-by: kokoro <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
Reviewed-by: Melissa Jost <[email protected]>
---
M site_scons/gem5_scons/__init__.py
1 file changed, 15 insertions(+), 1 deletion(-)

Approvals:
  Melissa Jost: Looks good to me, approved
  Jason Lowe-Power: Looks good to me, approved
  kokoro: Regressions pass




diff --git a/site_scons/gem5_scons/__init__.py b/site_scons/gem5_scons/__init__.py
index c958e22..7214876 100644
--- a/site_scons/gem5_scons/__init__.py
+++ b/site_scons/gem5_scons/__init__.py
@@ -264,7 +264,7 @@
     while path_dirs and path_dirs[-1] != "build":
         variant_dir = path_dirs.pop()
     if not path_dirs:
-        error("No non-leaf 'build' dir found on target path.", t)
+        error("No non-leaf 'build' dir found on target path.", target)

     return os.path.join("/", *path_dirs), variant_dir


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/64012?usp=email 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: I09708fea777a57a35e55409c8997ed0b25de2b46
Gerrit-Change-Number: 64012
Gerrit-PatchSet: 2
Gerrit-Owner: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Bobby Bruce <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Melissa Jost <[email protected]>
Gerrit-Reviewer: Melissa Jost <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to