meta-freescale/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb
Max Krummenacher b747b01501 global: whinlatter updates for WORKDIR/UNPACKDIR and git fetch location
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>
2025-06-28 18:58:39 +02:00

35 lines
1.3 KiB
BlitzBasic

DESCRIPTION = "OVS DPDK"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab"
DEPENDS = "dpdk python3-six-native coreutils-native autoconf-native automake-native"
RDEPENDS:${PN} = "bash libcrypto libssl python3"
inherit python3native pkgconfig
SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1"
SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99"
do_configure() {
export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR}
${S}/boot.sh
${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast"
}
do_install:append() {
install -d ${D}${bindir}/ovs-dpdk
cp -rf ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk
cp -rf ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk
cp -rf ${S}/ovsdb/ovsdb-client ${D}${bindir}/ovs-dpdk
cp -rf ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk
cp -rf ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk
cp -rf ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk
cp -rf ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk
chmod 777 -R ${D}${bindir}/ovs-dpdk/*
}
ALLOW_EMPTY:${PN} = "1"
INHIBIT_PACKAGE_STRIP = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(qoriq-arm64)"