Well I fixed the wanpipe.mk file to actually download the proper item and to 
run Setup successfully. However it is erroring in the recompiling of zaptel 
which is throwing the whole thing off. Once Sangoma fix that this make should 
work properly. Here is the fixed wanpipe.mk:


#############################################################
#
# wanpipe
#
#############################################################
WANPIPE_VER:=beta4-2.3.4
WANPIPE_SOURCE:=wanpipe-$(WANPIPE_VER).tgz
WANPIPE_SITE:=ftp://ftp.sangoma.com/linux/current_wanpipe
WANPIPE_DIR:=$(BUILD_DIR)/wanpipe
WANPIPE_CAT:=zcat
WANPIPE_BINARY:=utils/wancfg/wancfg
WANPIPE_TARGET_BINARY:=usr/sbin/wancfg

$(DL_DIR)/$(WANPIPE_SOURCE):
        $(WGET) -P $(DL_DIR) $(WANPIPE_SITE)/$(WANPIPE_SOURCE)

$(WANPIPE_DIR)/.unpacked: $(DL_DIR)/$(WANPIPE_SOURCE)
        $(WANPIPE_CAT) $(DL_DIR)/$(WANPIPE_SOURCE) | tar -C $(BUILD_DIR) 
$(TAR_OPTIONS) -
        touch $(WANPIPE_DIR)/.unpacked

$(WANPIPE_DIR)/.configured: $(WANPIPE_DIR)/.unpacked
        toolchain/patch-kernel.sh $(WANPIPE_DIR) package/wanpipe/ 
wanpipe\*.patch
        touch $(WANPIPE_DIR)/.configured

$(WANPIPE_DIR)/$(WANPIPE_BINARY): $(WANPIPE_DIR)/.configured
        CWD=$(shell pwd)
        cd $(WANPIPE_DIR)
        PATH="$(ZAPTEL_DIR):$(PATH)" 
        CC=$(TARGET_CC) 
        $(WANPIPE_DIR)/Setup install --arch=$(ARCH) --protocol=TDM 
--with-linux=$(BUILD_DIR)/linux --zaptel-path=$(BUILD_DIR)/zaptel 
--builddir=$(STAGING_DIR) --linux-vanilla --edac --silent --no-gcc-debug 
        cd $(CWD)

$(TARGET_DIR)/$(WANPIPE_TARGET_BINARY): $(WANPIPE_DIR)/$(WANPIPE_BINARY)
        touch $(TARGET_DIR)/$(WANPIPE_TARGET_BINARY)

wanpipe: uclibc linux zaptel $(TARGET_DIR)/$(WANPIPE_TARGET_BINARY)

wanpipe-clean:
        rm -f $(TARGET_DIR)/$(WANPIPE_TARGET_BINARY)
        -$(MAKE) -C $(WANPIPE_DIR) clean
        rm -Rf $(WANPIPE_DIR)

wanpipe-dirclean:
        rm -rf $(WANPIPE_DIR)

#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(strip $(BR2_PACKAGE_WANPIPE)),y)
TARGETS+=wanpipe
endif



Hope that helps some.

Michael Cargile

<<winmail.dat>>

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to