fix cifsmount (use TARGET_CC instead of CC)
[openwrt.git] / openwrt / package / cifsmount / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=cifsmount
6 PKG_VERSION:=1.5
7 PKG_RELEASE:=2
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount
10 PKG_IPK_DIR:=$(PKG_BUILD_DIR)
11 PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
12
13 $(PKG_BUILD_DIR)/sbin/mount.cifs:
14 mkdir -p $(PKG_BUILD_DIR)/sbin
15 $(TARGET_CC) -o $@ mount.cifs.c
16 $(STRIP) $@
17
18 $(PKG_IPK): $(PKG_BUILD_DIR)/sbin/mount.cifs
19 $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
20 $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
21
22 source:
23 prepare:
24 compile: $(PKG_IPK)
25 install:
26 $(IPKG) install $(PKG_IPK)
27 clean:
28 rm -rf $(PKG_BUILD_DIR)
This page took 0.039243 seconds and 5 git commands to generate.