mtcp-dpdk: Simplify

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
Tom Hochstein 2024-12-04 10:39:25 -06:00
parent 4aed3b4f15
commit b5a69790b5

View File

@ -2,24 +2,21 @@ DESCRIPTION = "mTCP on DPDK"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6a36820ca4ad07a1d62df52c596df642"
DEPENDS += "gmp numactl dpdk bc-native"
DEPENDS = "gmp numactl dpdk bc-native"
SRC_URI = "${MTCP_DPDK_SRC};nobranch=1"
MTCP_DPDK_SRC ?= "git://github.com/nxp-mcuxpresso/mtcp;protocol=https"
SRCREV = "c1dee662b4d0e33c8bf2b6ee4feec27efd96a61d"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
export RTE_SDK = "${RECIPE_SYSROOT}/usr"
EXTRA_OECONF += "--with-dpdk-lib=$RTE_SDK"
EXTRA_OECONF = "--host aarch64-fsl-linux --with-dpdk-lib=${STAGING_DIR_HOST}/usr"
B = "${S}"
do_configure() {
export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR}
${S}/configure --host aarch64-fsl-linux --with-dpdk-lib=${SYSROOT_DPDK}/usr --libdir=${libdir} --baselib=${baselib}
./configure --libdir=${libdir} --baselib=${baselib} ${EXTRA_OECONF}
}
do_compile() {