From 831714610370186e2522520c55f30a04a1a2fdfc Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 16 Jul 2021 22:49:39 -0700 Subject: [PATCH] scons: Get rid of special handling of the _m5 package. This package is handled specially by the DictImporter used during the build, and an assert shows that that code is never actually used. That makes sense, since _m5 won't be added to gem5 using the PySource mechanism. Change-Id: I36a39f1ebb94a7620c8ba296e0fe856bd33285f9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48362 Tested-by: kokoro Reviewed-by: Bobby R. Bruce Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black --- src/SConscript | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/SConscript b/src/SConscript index a99f2a134d..c518b36097 100644 --- a/src/SConscript +++ b/src/SConscript @@ -769,9 +769,6 @@ class DictImporter(object): if fullname == 'm5.objects': return self - if fullname.startswith('_m5'): - return None - source = self.modules.get(fullname, None) if source is not None and fullname.startswith('m5.objects'): return self