Fix ntp build
This commit is contained in:
@@ -13,7 +13,7 @@ NTP_AUTORECONF = YES
|
||||
NTP_LICENSE = ntp license
|
||||
NTP_LICENSE_FILES = COPYRIGHT
|
||||
NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no
|
||||
NTP_CONF_OPTS = --with-shared \
|
||||
NTP_CONF_OPT = --with-shared \
|
||||
--program-transform-name=s,,, \
|
||||
--disable-tickadj \
|
||||
--with-yielding-select=yes \
|
||||
@@ -27,7 +27,7 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
NTP_CONF_OPT += --with-crypto
|
||||
NTP_DEPENDENCIES += openssl
|
||||
else
|
||||
NTP_CONF_OPTS += --without-crypto --disable-openssl-random
|
||||
NTP_CONF_OPT += --without-crypto --disable-openssl-random
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NTP_NTPSNMPD),y)
|
||||
@@ -56,7 +56,6 @@ NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_TICKADJ) += util/tickadj
|
||||
define NTP_INSTALL_TARGET_CMDS
|
||||
$(if $(BR2_PACKAGE_NTP_NTPD), install -m 755 $(@D)/ntpd/ntpd $(TARGET_DIR)/usr/sbin/ntpd)
|
||||
test -z "$(NTP_INSTALL_FILES_y)" || install -m 755 $(addprefix $(@D)/,$(NTP_INSTALL_FILES_y)) $(TARGET_DIR)/usr/bin/
|
||||
$(INSTALL) -m 644 package/ntp/ntpd.etc.conf $(TARGET_DIR)/etc/ntp.conf
|
||||
@if [ ! -f $(TARGET_DIR)/etc/default/ntpd ]; then \
|
||||
install -m 755 -d $(TARGET_DIR)/etc/default ; \
|
||||
install -m 644 package/ntp/ntpd.etc.default $(TARGET_DIR)/etc/default/ntpd ; \
|
||||
|
||||
Reference in New Issue
Block a user