diff options
Diffstat (limited to 'package/ntp')
-rw-r--r-- | package/ntp/ntp.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 38b7e8525..532a97156 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -20,7 +20,7 @@ $(NTP_DIR)/.patched: $(DL_DIR)/$(NTP_SOURCE) $(NTP_CAT) $(DL_DIR)/$(NTP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(NTP_DIR) package/ntp/ ntp\*.patch $(SED) "s,^#if.*__GLIBC__.*_BSD_SOURCE.*$$,#if 0," \ - $(NTP_DIR)/ntpd/refclock_pcf.c; + $(NTP_DIR)/ntpd/refclock_pcf.c $(SED) '/[[:space:](]index[[:space:]]*(/s/[[:space:]]*index[[:space:]]*(/ strchr(/g' $(NTP_DIR)/libisc/*.c $(NTP_DIR)/arlib/sample.c $(SED) '/[[:space:](]rindex[[:space:]]*(/s/[[:space:]]*rindex[[:space:]]*(/ strrchr(/g' $(NTP_DIR)/ntpd/*.c #$(SED) 's/\(^#[[:space:]]*include[[:space:]]*<sys\/var.h>\)/\/\/ \1/' $(NTP_DIR)/util/tickadj.c @@ -54,7 +54,7 @@ $(NTP_DIR)/.configured: $(NTP_DIR)/.patched --program-transform-name=s,,, \ --without-crypto \ --disable-tickadj \ - ); + ) touch $@ $(NTP_DIR)/$(NTP_BINARY): $(NTP_DIR)/.configured |