mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-12-16 23:46:53 +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"
|
LICENSE = "BSD-3-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=6a36820ca4ad07a1d62df52c596df642"
|
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"
|
SRC_URI = "${MTCP_DPDK_SRC};nobranch=1"
|
||||||
MTCP_DPDK_SRC ?= "git://github.com/nxp-mcuxpresso/mtcp;protocol=https"
|
MTCP_DPDK_SRC ?= "git://github.com/nxp-mcuxpresso/mtcp;protocol=https"
|
||||||
|
|
||||||
SRCREV = "c1dee662b4d0e33c8bf2b6ee4feec27efd96a61d"
|
SRCREV = "c1dee662b4d0e33c8bf2b6ee4feec27efd96a61d"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
export RTE_SDK = "${RECIPE_SYSROOT}/usr"
|
EXTRA_OECONF = "--host aarch64-fsl-linux --with-dpdk-lib=${STAGING_DIR_HOST}/usr"
|
||||||
EXTRA_OECONF += "--with-dpdk-lib=$RTE_SDK"
|
|
||||||
B = "${S}"
|
B = "${S}"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR}
|
./configure --libdir=${libdir} --baselib=${baselib} ${EXTRA_OECONF}
|
||||||
${S}/configure --host aarch64-fsl-linux --with-dpdk-lib=${SYSROOT_DPDK}/usr --libdir=${libdir} --baselib=${baselib}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user