mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-05 05:14:44 +02:00

The series [1] changed the way sources are fetched/unpacked and S needs to follow that. Additionally for git repos it moved away from having 'git/' as the checkout directory. This has been partly tested by building weston based image for imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images. E.g. none of the recipes specific for qoriq is built time tested. As walnascar is no longer compatible with master/whinlatter drop it from LAYERSERIES_COMPAT. [1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
36 lines
972 B
BlitzBasic
36 lines
972 B
BlitzBasic
DESCRIPTION = "PKTGEN DPDK"
|
|
LICENSE = "BSD"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45"
|
|
|
|
DEPENDS += "libpcap dpdk lua lua-native"
|
|
|
|
SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=https;nobranch=1 \
|
|
file://fix-gcc11-mismatched-dealloc-error.patch \
|
|
"
|
|
SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde"
|
|
|
|
DPAA_VER ?= "dpaa"
|
|
export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc"
|
|
export RTE_SDK = "${RECIPE_SYSROOT}/usr/share/dpdk"
|
|
|
|
inherit meson pkgconfig
|
|
|
|
MESON_BUILDTYPE = "release"
|
|
EXTRA_OEMESON += '-Dc_args="-DRTE_FORCE_INTRINSICS"'
|
|
|
|
do_configure:prepend() {
|
|
sed -i "/^add_project_arguments('-march=native'/s/^/#&/" ${S}/meson.build
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}/
|
|
install -m 0755 app/pktgen ${D}${bindir}/
|
|
install -m 0644 ${S}/Pktgen.lua ${D}${bindir}/
|
|
}
|
|
|
|
INSANE_SKIP:${PN} = "ldflags"
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
PARALLEL_MAKE = ""
|
|
COMPATIBLE_MACHINE = "(qoriq-arm64)"
|