|
@@ -34,6 +34,12 @@ else
|
|
CHRONY_CONF_OPTS += --disable-readline
|
|
CHRONY_CONF_OPTS += --disable-readline
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# If pps-tools is available, build it before so the package can use it
|
|
|
|
+# (HAVE_SYS_TIMEPPS_H).
|
|
|
|
+ifeq ($(BR2_PACKAGE_PPS_TOOLS),y)
|
|
|
|
+CHRONY_DEPENDENCIES += pps-tools
|
|
|
|
+endif
|
|
|
|
+
|
|
define CHRONY_CONFIGURE_CMDS
|
|
define CHRONY_CONFIGURE_CMDS
|
|
cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(CHRONY_CONF_OPTS)
|
|
cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(CHRONY_CONF_OPTS)
|
|
endef
|
|
endef
|