selftests-vm-enable-cross-compilation.patch removed from -mm tree
The quilt patch titled
Subject: selftests: vm: enable cross-compilation
has been removed from the -mm tree. Its filename was
selftests-vm-enable-cross-compilation.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Björn Töpel <[email protected]>
Subject: selftests: vm: enable cross-compilation
Date: Mon, 9 Jan 2023 12:42:51 +0100
Selftests vm builds break when doing cross-compilation. The Makefile MACHINE variable incorrectly picks upp the host machine architecture.
If the CROSS_COMPILE variable is set, dig out the target host architecture from CROSS_COMPILE, instead of calling uname.
---
tools/testing/selftests/mm/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
tools/testing/selftests/mm/Makefile renamed from tools/testing/selftests/mm/Makefile~selftests-vm-enable-cross-compilation +4 -0
@@ -5,7 +5,11 @@ LOCAL_HDRS += $(selfdir)/mm/local_config include local_config.mk +ifeq ($(CROSS_COMPILE),) uname_M := $(shell uname -m 2>/dev/null || echo not) +else +uname_M := $(shell echo $(CROSS_COMPILE) | grep -o '^[a-z0-9]\+') +endif MACHINE ?= $(shell echo $(uname_M) | sed -e 's/aarch64.*/arm64/' -e 's/ppc64.*/ppc64/') # Without this, failed build products remain, with up-to-date timestamps,
_
Patches currently in -mm which might be from [email protected] are