lpcmanager

If GOT add GOT.h else not.

2016-12-05, dporopat
8216ba1c4717
Parents 2fc2a48aee54
Children ab1324096b2e
If GOT add GOT.h else not.
  • +1 -1
    LPCBus.py
  • --- a/LPCBus.py Mon Dec 05 10:13:45 2016 +0100
    +++ b/LPCBus.py Mon Dec 05 10:14:23 2016 +0100
    @@ -220,7 +220,7 @@
    elif arch == "GOT":
    bus_code = { "MC9:%s"%bus :
    { section :
    - GetLocalCode("%s_%s_%s.c"%("MC9",''.join(bus.split()),section))
    + (GetLocalCode("%s.h" % ("GOT"))) +GetLocalCode("%s_%s_%s.c"%("MC9",''.join(bus.split()),section)) if section=="decl" else GetLocalCode("%s_%s_%s.c"%("MC9",''.join(bus.split()),section))
    for section in ["decl", "init", "retrieve", "publish", "cleanup"]}
    for bus in Busses}
    else: