Depends on the type transformer and system you are referring to. You can ground the secondary of the transformer at the transformer and run an equipment ground with the conductors feeding the panel or use the neutral (if this is a grounded system) as ground to the panel and ground the panel as you would a service. Using the neutral generated at the transformer as the ground to the panel, is much more practicle.