X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ecdc8bd6717059d3cce793e829a55ef3e474104b..4878744171952c832df05a07b3b91b140e64dc96:/openwrt/package/robocfg/Makefile?ds=sidebyside diff --git a/openwrt/package/robocfg/Makefile b/openwrt/package/robocfg/Makefile index bc68f8905..6f511c043 100644 --- a/openwrt/package/robocfg/Makefile +++ b/openwrt/package/robocfg/Makefile @@ -17,11 +17,11 @@ $(PKG_BUILD_DIR)/.prepared: 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)