ntp: install after busybox
authorBaruch Siach <baruch@tkos.co.il>
Tue, 19 May 2015 09:13:17 +0000 (12:13 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 19 May 2015 19:34:26 +0000 (21:34 +0200)
Make sure that ntp installs after busybox so that it overrides the busybox
provided ntpd applet.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ntp/ntp.mk

index 554094db1b3a75a3f28f215f4e7ee976c7912446..36fc53792061038d2024f6228e3820207bf138e8 100644 (file)
@@ -7,7 +7,7 @@
 NTP_VERSION_MAJOR = 4.2
 NTP_VERSION = $(NTP_VERSION_MAJOR).8p2
 NTP_SITE = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR)
-NTP_DEPENDENCIES = host-pkgconf libevent
+NTP_DEPENDENCIES = host-pkgconf libevent $(if $(BR2_PACKAGE_BUSYBOX),busybox)
 NTP_LICENSE = ntp license
 NTP_LICENSE_FILES = COPYRIGHT
 NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no