You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							36 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							36 lines
						
					
					
						
							1.0 KiB
						
					
					
				
								################################################################################
							 | 
						|
								#
							 | 
						|
								# ntp
							 | 
						|
								#
							 | 
						|
								################################################################################
							 | 
						|
								
							 | 
						|
								NTP_VERSION = 4.2.8p15
							 | 
						|
								NTP_DIR = ntp-$(NTP_VERSION)
							 | 
						|
								NTP_SOURCE = ntp-$(NTP_VERSION).tar.gz
							 | 
						|
								NTP_SITE = https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(basename $(NTP_VERSION))
							 | 
						|
								
							 | 
						|
								NTP_DEPENDENCIES = openssl
							 | 
						|
								
							 | 
						|
								NTP_CONF_OPTS = \
							 | 
						|
									--bindir=$(REMOVE_bindir) \
							 | 
						|
									--datadir=$(REMOVE_datadir) \
							 | 
						|
									--libexecdir=$(REMOVE_libexecdir) \
							 | 
						|
									--docdir=$(REMOVE_docdir) \
							 | 
						|
									--disable-debugging \
							 | 
						|
									--with-shared \
							 | 
						|
									--with-crypto \
							 | 
						|
									--with-yielding-select=yes \
							 | 
						|
									--without-ntpsnmpd
							 | 
						|
								
							 | 
						|
								define NTP_TARGET_CLEANUP
							 | 
						|
									$(TARGET_RM) $(addprefix $(TARGET_sbindir)/,calc_tickadj ntp-keygen ntp-wait ntpd ntptime tickadj update-leap)
							 | 
						|
								endef
							 | 
						|
								NTP_TARGET_FINALIZE_HOOKS += NTP_TARGET_CLEANUP
							 | 
						|
								
							 | 
						|
								define NTP_INSTALL_NTPDATE_INIT
							 | 
						|
									$(INSTALL_EXEC) -D $(PKG_FILES_DIR)/ntpdate.init $(TARGET_sysconfdir)/init.d/ntpdate
							 | 
						|
								endef
							 | 
						|
								NTP_TARGET_FINALIZE_HOOKS += NTP_INSTALL_NTPDATE_INIT
							 | 
						|
								
							 | 
						|
								ntp: | $(TARGET_DIR)
							 | 
						|
									$(call autotools-package)
							 | 
						|
								
							 |