meta-openembedded/meta-networking/recipes-support/bridge-utils/bridge-utils_1.7.1.bb
Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

36 lines
1.1 KiB
BlitzBasic

SUMMARY = "Tools for ethernet bridging"
HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
SECTION = "net"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"
SRCREV = "75d949b9fae9718201422f0bd3d1103e67dd597c"
SRC_URI = "\
git://git.kernel.org/pub/scm/network/bridge/bridge-utils.git;branch=main \
file://0001-include-missing-kernel-header.patch \
file://0002-build-don-t-ignore-CFLAGS-from-environment.patch \
file://0003-libbridge-Modifying-the-AR-to-cross-toolchain.patch \
file://0004-cleanup-includes.patch \
"
CVE_PRODUCT = "kernel:bridge-utils"
inherit autotools-brokensep update-alternatives
ALTERNATIVE:${PN} = "brctl"
ALTERNATIVE_PRIORITY[brctl] = "100"
ALTERNATIVE_LINK_NAME[brctl] = "${sbindir}/brctl"
EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
do_install:append () {
install -d ${D}/${datadir}/bridge-utils
install -d ${D}/${sysconfdir}/network/if-pre-up.d
install -d ${D}/${sysconfdir}/network/if-post-down.d
}
RRECOMMENDS:${PN} = "kernel-module-bridge"