[libs] zaptel-1.4.x: Build more of the utils for testing and configureing Zaptel cards.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26236 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9cf8063360
commit
166ca2f437
@ -82,7 +82,7 @@ define Package/zaptel14-util
|
|||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
TITLE+= utils
|
TITLE+= utils
|
||||||
DEPENDS += +kmod-zaptel14
|
DEPENDS += +kmod-zaptel14 +zaptel14-libtonezone +libnewt
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/zaptel14-util/description
|
define Package/zaptel14-util/description
|
||||||
@ -101,6 +101,14 @@ define Package/zaptel14-libtonezone/description
|
|||||||
This package contains the libraries for accessing zaptel/dummy drivers.
|
This package contains the libraries for accessing zaptel/dummy drivers.
|
||||||
endef
|
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:= \
|
MAKE_FLAGS:= \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
||||||
@ -121,7 +129,7 @@ define Build/Compile/user
|
|||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
install-libs install-include zttest
|
install-libs install-include zttest ztcfg zttool ztdiag fxotune ztmonitor ztscan ztspeed fxstest
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
@ -139,6 +147,14 @@ endef
|
|||||||
define Package/zaptel14-util/install
|
define Package/zaptel14-util/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/zttest $(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
|
endef
|
||||||
|
|
||||||
define Package/zaptel14-libtonezone/install
|
define Package/zaptel14-libtonezone/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user