From 69f3d8e68a731516b28323cdc255323fe59f8441 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 5 Aug 2008 23:04:50 +0000 Subject: [PATCH] fix n2n compile git-svn-id: svn://svn.openwrt.org/openwrt/packages@12184 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/n2n/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net/n2n/Makefile b/net/n2n/Makefile index 32b8fe12d..00c0fcff3 100644 --- a/net/n2n/Makefile +++ b/net/n2n/Makefile @@ -20,8 +20,6 @@ PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz PKG_SOURCE_PROTO:=svn PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR) - include $(INCLUDE_DIR)/package.mk define Package/n2n @@ -35,14 +33,15 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + INSTALL_PROG=":" endef define Package/n2n/install $(INSTALL_DIR) $(1)/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/edge $(1)/sbin/ - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/supernode $(1)/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/edge $(1)/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/supernode $(1)/sbin/ $(INSTALL_DIR) $(1)/etc/config $(INSTALL_DATA) ./files/n2n.config $(1)/etc/config/n2n $(INSTALL_DIR) $(1)/etc/init.d