diff options
author | Fred Wright <fw@fwright.net> | 2016-12-22 17:32:45 -0800 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2016-12-22 17:32:45 -0800 |
commit | 79c69b2b12e5f8ee3aa3f50b8886a0a7bbdd73f7 (patch) | |
tree | 4144ed2bf859363b996af60e1ae3dcaec69da875 /ppsthread.h | |
parent | d1fd9ad44f320235b4d449988570ab5633f21bab (diff) | |
download | gpsd-79c69b2b12e5f8ee3aa3f50b8886a0a7bbdd73f7.tar.gz |
Makes MAGIC_HAT kludge optional.
This adds a build option called 'magic_hat', and makes the code for
MAGIC_HAT_GPS and MAGIC_LINK_GPS conditional on it. It currently
defaults to True on Linux and False otherwise. It's meaningless on
non-Linux platforms, though at present there are no
conditionally-present options, so this one is also present on all
platforms.
TESTED:
Tested on a Beaglebone Black with suitable symlinks added (and running
a kernel with PPS_CLIENT_KTIMER turned off. Verified that the kludge
behaves as intended when enabled, and is inoperative when disabled.
Diffstat (limited to 'ppsthread.h')
0 files changed, 0 insertions, 0 deletions