ntp: Adding support for SHM clocks
PATCH 1/1 ntp: Adding support for SHM clocks
From: ynadupur <[email protected]>
Description:
In order for gpsd to work with the new version of ntpd, an enable option must be added to the configure step of ntp that allows for support of SHM Clocks to be attached through shared memory.
--- package/ntp/Config.in | 6 ++++++ package/ntp/ntp.mk | 6 ++++++ 2 files changed, 12 insertions(+)
package/ntp/Config.in +6 -0
@@ -42,6 +42,12 @@ config BR2_PACKAGE_NTP_NTPD_ATOM_PPS help Compile ntpd with the ability to use an ATOM PPS source. +config BR2_PACKAGE_NTP_NTP_SHM_CLK + bool "SHM clock support" + help + Compile ntp with support for a SHM clock attached through shared + memory. + config BR2_PACKAGE_NTP_NTPDATE bool "ntpdate" help
package/ntp/ntp.mk +6 -0
@@ -42,6 +42,12 @@ else NTP_CONF_OPTS += --disable-ATOM endif +ifeq ($(BR2_PACKAGE_NTP_NTP_SHM_CLK),y) + NTP_CONF_OPTS += --enable-SHM +else + NTP_CONF_OPTS += --disable-SHM +endif + NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_KEYGEN) += util/ntp-keygen NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_WAIT) += scripts/ntp-wait/ntp-wait NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDATE) += ntpdate/ntpdate
Signature · 1 line
1.9.1
PATCH 1/1 ntp: Adding support for SHM clocks
Hello,
Quoted 1 line · Matt Weber
From: ynadupur <[email protected]>
This From: was obviously not properly formatted, as we want a full name.
Quoted 1 line
Description:
No need for "Description:" in the commit log.
Quoted 4 lines
In order for gpsd to work with the new version of ntpd, an enable option must be added to the configure step of ntp that allows for support of SHM Clocks to be attached through shared memory.
The commit log shouldn't be indented.
Quoted 2 lines
Signed-off-by [YUGENDRA SAI BABU NADUPURU]<[email protected]>
This was also not properly formatted.
package/ntp/Config.in config BR2_PACKAGE_NTP_NTPD_ATOM_PPS · line 49
Quoted 5 lines
package/ntp/Config.in +5
-0+config BR2_PACKAGE_NTP_NTP_SHM_CLK + bool "SHM clock support" + help + Compile ntp with support for a SHM clock attached through shared + memory.
Indentation for the help text is one tab + two spaces, not one tab + one space.
package/ntp/ntp.mk else · line 46
Quoted 2 lines
package/ntp/ntp.mk +2
-0+ifeq ($(BR2_PACKAGE_NTP_NTP_SHM_CLK),y) + NTP_CONF_OPTS += --enable-SHM
We don't indent such lines.
Committed with all those minor issues fixed.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com