If libxdp is built before tcpreplay, it will pick it up.
So, might as well just add it as a dependency (for now).
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
PKG_NAME:=tcpreplay
PKG_VERSION:=4.5.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
CATEGORY:=Network
URL:=http://tcpreplay.appneta.com/
MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
- DEPENDS:=+librt +libpcap +libdnet +libbpf +USE_MUSL:musl-fts
+ DEPENDS:=+librt +libpcap +libdnet +libbpf +libxdp +USE_MUSL:musl-fts
endef
define Package/tcpbridge
ac_cv_path_pcncfg=no
CONFIGURE_ARGS += \
- --enable-force-pf \
--enable-dynamic-link \
--with-libdnet="$(STAGING_DIR)/usr" \
--with-libpcap="$(STAGING_DIR)/usr"