aports/testing/linux-stable/0004-objtool-respect-AWK-setting.patch
fossdd c5d7d46418 testing/linux-stable: new aport
Kernel aport with an identical config of main/linux-lts following stable
kernel releases.

community/linux-edge has been known in the past years to have a different
config and APKBUILD than linux-lts, notably some security features are
disabled to avoid a larger kernel size.

Ref: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/75307#note_467911
2025-05-04 20:07:56 +00:00

26 lines
766 B
Diff

From 5ed3c540ea689ae4786d2953c4149359f55cac47 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 28 Nov 2023 14:22:46 +0100
Subject: [PATCH 4/5] objtool: respect AWK setting
AWK= is not passed on as an makefile argument so we need pass it as an env.
---
tools/objtool/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index bf7f7f84ac62..531d6485df3d 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -42,7 +42,7 @@ OBJTOOL_CFLAGS += $(if $(elfshdr),,-DLIBELF_USE_DEPRECATED)
# Always want host compilation.
HOST_OVERRIDES := CC="$(HOSTCC)" LD="$(HOSTLD)" AR="$(HOSTAR)"
-AWK = awk
+AWK ?= awk
MKDIR = mkdir
ifeq ($(V),1)
--
2.47.1