From 22a53bd4d2301c6e33b5a033f57a636d9ae7503f Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Fri, 18 Mar 2011 23:37:48 +0000 Subject: [PATCH] [libs] zaptel-1.4.x: Build more of the utils for testing and configureing Zaptel cards. SVN-Revision: 26236 --- libs/zaptel-1.4.x/Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/libs/zaptel-1.4.x/Makefile b/libs/zaptel-1.4.x/Makefile index d030c9c226..631d4d7c06 100644 --- a/libs/zaptel-1.4.x/Makefile +++ b/libs/zaptel-1.4.x/Makefile @@ -82,7 +82,7 @@ define Package/zaptel14-util SECTION:=utils CATEGORY:=Utilities TITLE+= utils - DEPENDS += +kmod-zaptel14 + DEPENDS += +kmod-zaptel14 +zaptel14-libtonezone +libnewt endef define Package/zaptel14-util/description @@ -101,6 +101,14 @@ define Package/zaptel14-libtonezone/description This package contains the libraries for accessing zaptel/dummy drivers. endef +CONFIGURE_VARS += \ + LDFLAGS="$$$$LDFLAGS -Wl,-rpath-link $(STAGING_DIR)/usr/lib" + +CONFIGURE_ARGS += \ + --with-newt="$(STAGING_DIR)/usr" \ + --without-curses \ + --without-ncurses + MAKE_FLAGS:= \ ARCH="$(LINUX_KARCH)" \ CC="$(TARGET_CC) $(TARGET_CFLAGS)" \ @@ -121,7 +129,7 @@ define Build/Compile/user $(MAKE) -C $(PKG_BUILD_DIR) \ ARCH="$(LINUX_KARCH)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ - install-libs install-include zttest + install-libs install-include zttest ztcfg zttool ztdiag fxotune ztmonitor ztscan ztspeed fxstest endef define Build/Compile @@ -139,6 +147,14 @@ endef define Package/zaptel14-util/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/zttest $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztcfg $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/zttool $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztdiag $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/fxotune $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/fxstest $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztmonitor $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztscan $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztspeed $(1)/usr/bin/ endef define Package/zaptel14-libtonezone/install -- 2.30.2