X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b40f1b0b8340bd03614fb09daa9e68820efd9225..0f1316cd74e7432d7c6958d4f6cdfdb7c28a4d33:/openwrt/package/ntpclient/Makefile?ds=sidebyside diff --git a/openwrt/package/ntpclient/Makefile b/openwrt/package/ntpclient/Makefile index 02c063776..679e5fca5 100644 --- a/openwrt/package/ntpclient/Makefile +++ b/openwrt/package/ntpclient/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=ntpclient @@ -15,13 +17,17 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(PKG_BUILD_DIR)/.configured: + touch $@ + $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" + touch $@ $(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)