# applications.mk
applications:
- $(MAKE) $(D)/procps $(D)/busybox $(D)/e2fsprogs $(D)/hotplug $(D)/fbshot $(D)/vsftpd $(D)/flashcp
+ $(MAKE) $(D)/procps $(D)/busybox $(D)/e2fsprogs $(D)/hotplug $(D)/fbshot $(D)/vsftpd $(D)/flashcp $(D)/ntp
if [ $(WIFI) = "yes" ]; then \
$(MAKE) $(D)/wpa_supplicant; \
else \
# CONFIG_FEATURE_NETSTAT_WIDE is not set
# CONFIG_FEATURE_NETSTAT_PRG is not set
CONFIG_NSLOOKUP=y
-CONFIG_NTPD=y
+CONFIG_NTPD=n
# CONFIG_FEATURE_NTPD_SERVER is not set
# CONFIG_PSCAN is not set
CONFIG_ROUTE=y
$(REMOVE)/fbshot-0.3
touch $@
+$(D)/ntp: $(D)/openssl $(ARCHIVE)/ntp-$(NTP_VER).tar.gz | $(TARGETPREFIX)
+ $(UNTAR)/ntp-$(NTP_VER).tar.gz
+ set -e; cd $(BUILD_TMP)/ntp-$(NTP_VER); \
+ $(PATCH)/ntp-remove-buildtime.patch; \
+ $(BUILDENV) ./configure \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ --target=$(TARGET) \
+ --prefix= \
+ --disable-tick \
+ --disable-tickadj \
+ --with-yielding-select=yes \
+ --without-ntpsnmpd \
+ --disable-debugging \
+ ; \
+ $(MAKE)
+ cp -a $(BUILD_TMP)/ntp-$(NTP_VER)/ntpdate/ntpdate $(TARGETPREFIX)/sbin/
+ $(TARGET)-strip $(TARGETPREFIX)/sbin/ntpdate
+ $(REMOVE)/ntp-$(NTP_VER)
+ touch $@
+
$(D)/vsftpd: $(ARCHIVE)/vsftpd-3.0.2.tar.gz | $(TARGETPREFIX)
if [ $(PLATFORM) = "nevis" ]; then \
$(MAKE) $(D)/vsftpd-nevis; \
$(ARCHIVE)/pkg-config-$(PKGCONFIG_VER).tar.gz:
$(WGET) http://pkgconfig.freedesktop.org/releases/pkg-config-$(PKGCONFIG_VER).tar.gz
+$(ARCHIVE)/ntp-$(NTP_VER).tar.gz:
+ $(WGET) http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-$(NTP_VER).tar.gz
+
$(ARCHIVE)/crosstool-1.16.0-downloads.tar.bz2:
$(WGET) http://www.fhloston-paradise.de/crosstool-ng-1.16.0.tar.bz2
$(WGET) http://www.fhloston-paradise.de/eglibc-2_13.tar.bz2
# ntfs-3g; file system driver for the NTFS file system, enabling read/write support of NTFS file systems
NTFS_3G_VER=2015.3.14
+# ntp; synchronize system clock over a network
+NTP_VER=4.2.8p3
+
# openssl; toolkit for the SSL v2/v3 and TLS v1 protocol
ifeq ($(PLATFORM), nevis)
OPENSSL_VER=0.9.8