check if firmware is in trx format, before writing it to the flash
[openwrt.git] / package / ntpclient / Makefile
index a2a3700..679e5fc 100644 (file)
@@ -18,16 +18,16 @@ include $(TOPDIR)/package/rules.mk
 $(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 $(PKG_BUILD_DIR)/.configured:
 $(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 $(PKG_BUILD_DIR)/.configured:
-       touch @
+       touch $@
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
-       touch @
+       touch $@
 
 $(IPKG_NTPCLIENT):
        install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d
 
 $(IPKG_NTPCLIENT):
        install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d
-       install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S41ntpclient
+       install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S60ntpclient
        install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
        install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
        $(RSTRIP) $(IDIR_NTPCLIENT)
        install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
        install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
        $(RSTRIP) $(IDIR_NTPCLIENT)
This page took 0.025287 seconds and 4 git commands to generate.