X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4f610472f694ab4b5011e4a08dfe75b5703686b1..3013fec2860445447583ea0ab606a0a9e5b9a86b:/openwrt/package/robocfg/Makefile diff --git a/openwrt/package/robocfg/Makefile b/openwrt/package/robocfg/Makefile index 980872f3e..54daea8e8 100644 --- a/openwrt/package/robocfg/Makefile +++ b/openwrt/package/robocfg/Makefile @@ -1,3 +1,4 @@ +# $Id$ include $(TOPDIR)/rules.mk @@ -12,14 +13,18 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.prepared: - mkdir -p $@ + mkdir -p $(PKG_BUILD_DIR) + touch $@ + +$(PKG_BUILD_DIR)/.configured: + touch $@ $(PKG_BUILD_DIR)/.built: - $(TARGET_CC) -o $(PKG_BUILD_DIR)/robocfg robocfg.c - $(STRIP) $(PKG_BUILD_DIR)/robocfg + $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/robocfg robocfg.c touch $@ $(IPKG_ROBOCFG): - mkdir -p $(IDIR_ROBOCFG)/sbin - install -m 0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/robocfg + install -d -m0755 $(IDIR_ROBOCFG)/sbin + install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/ + $(RSTRIP) $(IDIR_ROBOCFG) $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)