summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-04 02:04:38 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-04 02:04:38 -0400
commitb6d4702ce0f266200b881d806597bfedfc836c44 (patch)
tree5991166b5089a2950503a3c98209f05949cfda08 /SConstruct
parent6aaddabf1f1cd5453473d38074db0b56c9d77ec1 (diff)
downloadgpsd-b6d4702ce0f266200b881d806597bfedfc836c44.tar.gz
Remove pps-pin option; the PPS code now listens on all handshake pins.
All regression tests pass.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct12
1 files changed, 1 insertions, 11 deletions
diff --git a/SConstruct b/SConstruct
index 53494b6a..29f8b29d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -167,7 +167,6 @@ nonboolopts = (
("limited_max_devices", 0, "maximum allowed devices"),
("fixed_port_speed", 0, "fixed serial port speed"),
("fixed_stop_bits", 0, "fixed serial port stop bits"),
- ("pps_pin", "DCD", "pin to expect PPS pulses on"),
("target", "", "cross-development target"),
("sysroot", "", "cross-development system root"),
)
@@ -1016,17 +1015,8 @@ else:
revision='#define REVISION "%s"\n' %(rev.strip(),)
env.Textfile(target="revision.h", source=[revision])
-# generate pps_pin.h
-pps_pin = env['pps_pin']
-ppsh = '/* generated by scons from the pps_pin option - do not hand-hack */\n'
-ppsh += '#define PPS_LINE_NAME "%s"\n' % pps_pin
-tioc_map = {"DCD": "CAR"}
-ppsh += '#define PPS_LINE_TIOC TIOCM_%s\n' % tioc_map.get(pps_pin, pps_pin)
-ppsh += "/* end */\n"
-env.NoClean(env.Textfile(target="pps_pin.h", source=[ppsh]))
-
generated_sources = ['packet_names.h', 'timebase.h', 'gpsd.h', "ais_json.i",
- 'gps_maskdump.c', 'revision.h', 'gpsd.php', 'pps_pin.h']
+ 'gps_maskdump.c', 'revision.h', 'gpsd.php']
# leapseconds.cache is a local cache for information on leapseconds issued
# by the U.S. Naval observatory. It gets kept in the repository so we can