mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-12-14 22:45:40 +01:00
mtcp-dpdk: Simplify
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
4aed3b4f15
commit
b5a69790b5
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user