gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] SConstruct: correcting ntpshmmon build


From: Kevin Baker
Subject: [gpsd-dev] [PATCH] SConstruct: correcting ntpshmmon build
Date: Tue, 3 Mar 2015 16:00:03 -0600

Build was failing since it couldn't correctly determine the dependencies for
ntpshmmon when using yocto-dizzy. Fixing what looked like simple copy/paste
errors in SConstruct fixes the build.
---
 SConstruct | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SConstruct b/SConstruct
index 683fb7a..3665699 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1075,7 +1075,7 @@ cgps = env.Program('cgps', ['cgps.c'], 
parse_flags=gpslibs + ncurseslibs)
 env.Depends(cgps, compiled_gpslib)
 
 ntpshmmon = env.Program('ntpshmmon', ['ntpshmmon.c'], parse_flags=gpslibs)
-env.Depends(cgps, compiled_gpslib)
+env.Depends(ntpshmmon, compiled_gpslib)
 
 binaries = [gpsd, gpsdecode, gpsctl, gpsdctl, gpspipe, gps2udp, gpxlogger, 
lcdgps, ntpshmmon]
 if env["ncurses"]:
@@ -1929,7 +1929,7 @@ distclean = env.Alias('distclean', [clean, testclean, 
webclean])
 
 # Tags for Emacs and vi
 misc_sources = ['cgps.c', 'gpsctl.c', 'gpsdctl.c', 'gpspipe.c',
-                'gps2udp.c', 'gpsdecode.c', 'gpxlogger.c', 'ntpshmmon']
+                'gps2udp.c', 'gpsdecode.c', 'gpxlogger.c', 'ntpshmmon.c']
 sources = libgpsd_sources + libgps_sources \
           + gpsd_sources + gpsmon_sources + misc_sources
 env.Command('TAGS', sources, ['etags ' + " ".join(sources)])
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]