Fix the script so it is python2 and python3 compatible, then let the
distro decide which python version to use.
Change-Id: If805c8167e2cf57ce3d6143dddfd4685ad729142
The script contains python2-only syntax, so it can only be run with
python2. Make sure to explicitly specify it needs to be run with python2
in order to run it fine on distros where python points to python3.
Change-Id: Ie695c26f1b2a4f84bdc2b67938fe37a4c50681dd
SDCC, at least from version 3 onwards, has change the names of special
attributes like "at" or "sfr". They are now all prefixed with double-
underscores.
Upstream fx2lib has made that change in commit 3071389d9a868ed553b84809b399008648536fcf
which can be obtained from
3071389d9a
Change-Id: I5df64bc3cc09402bdfacec9c256e96135e3688fd