misc: Use a Makefile to ensure util/packet_pb2.py is up to date.
authorGabe Black <gabeblack@google.com>
Thu, 5 Oct 2017 03:02:43 +0000 (20:02 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 5 Oct 2017 09:16:35 +0000 (09:16 +0000)
commit9de3d9441648079e46d734fc8415c5b1dc12ec6a
treeccc9caf3e3233c37100f9e07f3274eb85ab207dd
parentedc8cffbead0b76cf8ea537f5d612963d975aa56
misc: Use a Makefile to ensure util/packet_pb2.py is up to date.

Rather than just ensuring that packet_pb2.py is available in general, use a
Makefile to ensure that it's also up to date in case packet.proto has
changed.

Also, remove a check that ensures that the protobuf module is available,
since python will complain if it needs it and can't find it.

Finally, remove a comment which talks about manually regenerating the
packet_pb2.py module, something that hasn't been necessary for a while, even
with the old version of this code.

Change-Id: I40c5c1f577e6d7ad1af9a209309a1eb92f073317
Reviewed-on: https://gem5-review.googlesource.com/5005
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
util/Makefile [new file with mode: 0644]
util/decode_packet_trace.py