util: Make cpt_upgraders python3 compatible
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 4 May 2020 13:01:52 +0000 (14:01 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 6 May 2020 08:15:15 +0000 (08:15 +0000)
commit58a797d36c7b3b2768c1400d4aa45a8c126d6343
treeab1c58d0db81c8633d6ef28b193aeb119602e790
parent86454a35393a450062edcc7f46e4528bece19264
util: Make cpt_upgraders python3 compatible

It won't be possible to build gem5 in a python3 only environment
otherwise since the cpt_upgrader.py script is automatically run at the
end of compilation

Change-Id: Iea4217e5cd64ca44b99aa0db5dabfdced7aeb3ea
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28587
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/cpt_upgrader.py
util/cpt_upgraders/arm-hdlcd-upgrade.py
util/cpt_upgraders/arm-miscreg-teehbr.py
util/cpt_upgraders/arm-sve.py
util/cpt_upgraders/armv8.py
util/cpt_upgraders/x86-add-tlb.py