X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e3778a7367f3d8d66e92067b2b4608d331a6c12f..8480b3568e9ac76ef5dfc8e084395a56573f4b43:/package/robocfg/Makefile diff --git a/package/robocfg/Makefile b/package/robocfg/Makefile index 980872f3e..6f511c043 100644 --- a/package/robocfg/Makefile +++ b/package/robocfg/Makefile @@ -1,3 +1,4 @@ +# $Id$ include $(TOPDIR)/rules.mk @@ -13,13 +14,14 @@ $(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(A $(PKG_BUILD_DIR)/.prepared: mkdir -p $@ + 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)