Set system time sync to GPS/GNSS time

Hello everyone,
Coule someone tell me how to sync tegra’s system time to GPS/GNSS time? I looked through the relevant topicsand didn’t found anything useful. Did someone tried and succeeded?
Thanks!