[PATCH master 4/4] sandbox: actually build the assembly setjmp/longjmp/initjmp
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 31 06:24:54 PDT 2026
arch/sandbox/Makefile adds the host's um/ directory to pbl-y, but Kbuild
only consumes core-y from the arch Makefile, so the assembly
implementation selected by CONFIG_SANDBOX_SJLJ_ASM was lost.
Use core-y, so the assembly version overrides the weak C one.
Fixes: 48d0d0cc28ed ("kbuild: sync with Linux v6.17")
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
arch/sandbox/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 08e09c53f7ef..cd11083e4deb 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -25,7 +25,7 @@ HOST_DIR := arch/$(HEADER_ARCH)
-include $(srctree)/$(HOST_DIR)/Makefile.um
-pbl-y += $(HOST_DIR)/um/
+core-y += $(HOST_DIR)/um/
KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/include
--
2.47.3
More information about the barebox
mailing list