Ticket #450: ntpclient.patch

File ntpclient.patch, 839 bytes (added by s9999@…, 12 years ago)

ntpclient.patch

  • Makefile

    diff -urN ntpclient.old/Makefile ntpclient/Makefile
    old new  
    2222 
    2323$(PKG_BUILD_DIR)/.built: 
    2424        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    25                 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" 
     25                CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" all adjtimex 
    2626        touch $@ 
    2727 
    2828$(IPKG_NTPCLIENT): 
     
    3030        install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/hotplug.d/iface/10-ntpclient 
    3131        install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin 
    3232        install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/ 
     33        install -m0755 $(PKG_BUILD_DIR)/adjtimex $(IDIR_NTPCLIENT)/usr/sbin/ 
     34        install -m0755 $(PKG_BUILD_DIR)/rate.awk $(IDIR_NTPCLIENT)/usr/sbin/ 
    3335        $(RSTRIP) $(IDIR_NTPCLIENT) 
    3436        $(IPKG_BUILD) $(IDIR_NTPCLIENT) $(PACKAGE_DIR) 
    3537