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>
This commit is contained in:
Alexander Kanavin
2025-06-20 16:06:53 +02:00
committed by Khem Raj
parent 188491dd2b
commit fc78d37ff0
1054 changed files with 385 additions and 1160 deletions
@@ -16,7 +16,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git;protoc
BBCLASSEXTEND = "native nativesdk"
S = "${WORKDIR}/git"
do_install () {
install -d ${D}${bindir}
@@ -10,7 +10,6 @@ SRC_URI = " \
git://github.com/osandov/blktests.git;nobranch=1;protocol=https \
"
S = "${WORKDIR}/git"
inherit autotools-brokensep
@@ -14,7 +14,6 @@ SRCREV = "a0eb4805dbb232f02f156b9351a23790c1a4cec7"
PE = "1"
S = "${WORKDIR}/git"
inherit allarch
+1 -2
View File
@@ -14,9 +14,8 @@ DEPENDS = "zlib readline coreutils-native ncurses-native"
INC_PR = "r1"
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=https \
${GNU_MIRROR}/gdb/gdb-10.2.tar.gz;name=gdb;subdir=git \
${GNU_MIRROR}/gdb/gdb-10.2.tar.gz;name=gdb;subdir=${BB_GIT_DEFAULT_DESTSUFFIX} \
file://7001force_define_architecture.patch \
file://7003cross_ranlib.patch \
file://0001-cross_add_configure_option.patch \
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7c83d30e99508d6b790eacdd3abab846"
SRC_URI = "git://github.com/osandov/drgn.git;protocol=https;branch=main;tag=v${PV}"
SRCREV = "8209a147fb61deed38ca376d063bbff0343ca234"
S = "${WORKDIR}/git"
DEPENDS = "\
autoconf-native \
@@ -35,7 +35,6 @@ IANA_ENTERPRISE_NUMBERS ?= ""
#IANA_ENTERPRISE_NUMBERS = "http://www.iana.org/assignments/enterprise-numbers.txt;name=iana-enterprise-numbers;downloadfilename=iana-enterprise-numbers"
#SRC_URI[iana-enterprise-numbers.sha256sum] = "cdd97fc08325667434b805eb589104ae63f7a9eb720ecea73cb55110b383934c"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
DEPENDS = "rsync-native llvm-native"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
# for musl libc
SRC_URI:append:libc-musl = "\
@@ -46,7 +45,7 @@ do_compile[depends] += "virtual/kernel:do_install"
inherit linux-kernel-base module-base kernel-arch ptest siteinfo
S = "${WORKDIR}/${BP}"
S = "${UNPACKDIR}/${BP}"
DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map"
-1
View File
@@ -22,7 +22,6 @@ EXTRA_OEMAKE = " \
CC='${CC}' \
"
S = "${WORKDIR}/git"
do_install () {
oe_runmake install
@@ -6,6 +6,5 @@ SRCREV = "0c3c21930895f6582a5c9d9d797f7e11ff41ffb2"
PV = "0.9.1"
S = "${WORKDIR}/git"
BBCLASSEXTEND = "native nativesdk"
@@ -14,7 +14,6 @@ SRC_URI = " \
file://0002-tlshd-configure.ac-Use-AC_CHECK_HEADER-instead-of-AC.patch \
"
S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig systemd
@@ -17,7 +17,7 @@ SRCREV = "09b9e83102eb8ab9e540d36b4559c55f3bcdb95d"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
S = "${WORKDIR}/git/src"
S = "${UNPACKDIR}/${BP}/src"
EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
EXTRA_OEMAKE:append:class-native = " UAPIDIR=${includedir}"
@@ -26,7 +26,7 @@ EXTRA_OEMAKE:append:powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\""
EXTRA_OEMAKE:append:powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\""
EXTRA_OEMAKE:append:aarch64 = " ARCH=\"arm64\""
S = "${WORKDIR}/libpfm-${PV}"
S = "${UNPACKDIR}/libpfm-${PV}"
do_install () {
oe_runmake install
@@ -13,7 +13,6 @@ SRCREV = "417c2e3aa21af670cc5c13db633dd35292f2d0fa"
SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=${BPN};protocol=https \
file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch \
"
S = "${WORKDIR}/git"
inherit pkgconfig
@@ -18,7 +18,6 @@ SRC_URI = "git://github.com/diamon/minicoredumper;protocol=https;branch=master \
file://0001-corestripper-Fix-uninitialized-warning.patch \
"
S = "${WORKDIR}/git"
SYSTEMD_SERVICE:${PN} = "minicoredumper.service"
SYSTEMD_AUTO_ENABLE = "enable"
@@ -9,7 +9,6 @@ SRCREV = "0987732b013936ad771334f51cba31c453c8a9c9"
SRC_URI = "git://github.com/intel/pm-graph.git;branch=master;protocol=https \
file://0001-Makefile-fix-multilib-build-failure.patch \
"
S = "${WORKDIR}/git"
# Apart from the listed RDEPENDS, analyze-suspend depends on some features
# provided by the kernel. These options are:
@@ -12,7 +12,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;b
file://0001-Do-not-emit-useless-rpath.patch"
SRCREV = "18233e4c32857cb7ddd4960beeec8360ed834fc5"
S = "${WORKDIR}/git"
DEPENDS += "libtraceevent libtracefs zstd xmlto-native asciidoc-native swig-native bison-native flex-native"
@@ -23,8 +23,7 @@ SRC_URI += "\
file://COPYING \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "libcap"
@@ -28,7 +28,7 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir"
# We need to set S, for not being set to STAGING_KERNEL_DIR, and by that
# be wiped when we prune dest below. We just set it to usbip-tools-1.0
S = "${WORKDIR}/${BP}"
S = "${UNPACKDIR}/${BP}"
# Copy the source files from KERNEL/tools/usb/usbip to ${S}
do_configure[prefuncs] += "copy_usbip_source_from_kernel"