X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/52bfb69332adbba0624babb1b4b0eecd990fe5de..33178834e8b04a2d5c66c78791fd1cb1c9064152:/openwrt/package/cifsmount/Makefile diff --git a/openwrt/package/cifsmount/Makefile b/openwrt/package/cifsmount/Makefile index 81eac62b2..e435423fe 100644 --- a/openwrt/package/cifsmount/Makefile +++ b/openwrt/package/cifsmount/Makefile @@ -13,14 +13,18 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,CIFSMOUNT,$(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)/mount.cifs mount.cifs.c - $(STRIP) $(PKG_BUILD_DIR)/mount.cifs + $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c touch $@ $(IPKG_CIFSMOUNT): - mkdir -p $(IDIR_CIFSMOUNT)/sbin - install -m 0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/mount.cifs + install -d -m0755 $(IDIR_CIFSMOUNT)/sbin + install -m0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/ + $(RSTRIP) $(IDIR_CIFSMOUNT) $(IPKG_BUILD) $(IDIR_CIFSMOUNT) $(PACKAGE_DIR)