X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d59555fe1a07762a91b3211192cfa042b01f72c0..a32eb2e9dafb837e4c6e1abebd64a2cd9e3c7296:/openwrt/package/cifsmount/Makefile diff --git a/openwrt/package/cifsmount/Makefile b/openwrt/package/cifsmount/Makefile index d0d186a8d..2cb64d45f 100644 --- a/openwrt/package/cifsmount/Makefile +++ b/openwrt/package/cifsmount/Makefile @@ -20,11 +20,11 @@ $(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)