aboutsummaryrefslogtreecommitdiffstats
path: root/package/comgt/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-20 08:47:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-20 08:47:19 +0000
commit24aa50171469ccb468706460cf1c5d2256ff7a20 (patch)
treee8d0c4a2610601db4b43b09f97adf657a2fc67c2 /package/comgt/Makefile
parente452e8b07e2d6b711646bf4881fe4374fe6518df (diff)
downloadmaster-187ad058-24aa50171469ccb468706460cf1c5d2256ff7a20.tar.gz
master-187ad058-24aa50171469ccb468706460cf1c5d2256ff7a20.tar.bz2
master-187ad058-24aa50171469ccb468706460cf1c5d2256ff7a20.zip
comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27699 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/comgt/Makefile')
-rw-r--r--package/comgt/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/comgt/Makefile b/package/comgt/Makefile
index 00c1118113..61c123a737 100644
--- a/package/comgt/Makefile
+++ b/package/comgt/Makefile
@@ -37,12 +37,14 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
- gcom
+ LDFLAGS="" \
+ comgt
endef
-
+
define Package/comgt/install
$(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/gcom $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/comgt $(1)/usr/bin/
+ ln -s comgt $(1)/usr/bin/gcom
$(INSTALL_DIR) $(1)/etc/ppp
$(INSTALL_BIN) ./files/3g.connect $(1)/etc/ppp/3g.connect
$(INSTALL_DIR) $(1)/etc/chatscripts