2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount
17 include $(INCLUDE_DIR)/package.mk
19 define Package/cifsmount
22 TITLE:=CIFS mounting helper utility
24 An user space helper utility for mounting remote CIFS shares.
28 mkdir -p $(PKG_BUILD_DIR)
32 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
35 define Package/cifsmount/install
36 install -d -m0755 $(1)/sbin
37 install -m0755 $(PKG_BUILD_DIR)/mount.cifs $(1)/sbin/
40 $(eval $(call BuildPackage,cifsmount))