configs: Use absolute import paths

Use absoluate import paths to be Python 3 compatible. This also
imports absolute_import from __future__ to ensure that Python 2.7
behaves the same way as Python 3.

Change-Id: Ica06ed95814e9cd3e768b3e1785075e36f6e56d0
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/16708
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
Andreas Sandberg
2019-02-25 11:55:02 +00:00
parent 9e22a2ab60
commit fe3e808495
74 changed files with 171 additions and 37 deletions

View File

@@ -26,6 +26,9 @@
#
# Authors: Tushar Krishna
from __future__ import print_function
from __future__ import absolute_import
import math
import m5
from m5.objects import *