From 412b2860b41d971f8324929b7cfd082a6fd49997 Mon Sep 17 00:00:00 2001 From: Giuliano Procida Date: Mon, 7 Oct 2024 13:16:21 +0100 Subject: [PATCH] ANDROID: GKI: populate ALL_KMI_SYMBOLS for all architectures This change removes the artificial restriction to amd64 / aarch64. Bug: 393044622 Bug: 372188974 Change-Id: Id83a6ea1da2b0a362ca7fff1cff895859b0e5974 Signed-off-by: Giuliano Procida --- kernel/module/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/module/Makefile b/kernel/module/Makefile index 75680b45564c..08ceccfdd2c5 100644 --- a/kernel/module/Makefile +++ b/kernel/module/Makefile @@ -43,8 +43,8 @@ include/generated/gki_module_unprotected.h: $(ALL_KMI_SYMBOLS) \ # AARCH is the same as ARCH, except that arm64 becomes aarch64 AARCH := $(if $(filter arm64,$(ARCH)),aarch64,$(ARCH)) -# Generate symbol list with union of all symbol list for arm64; empty for others -$(ALL_KMI_SYMBOLS): $(if $(filter arm64,$(ARCH)),$(wildcard $(srctree)/android/abi_gki_$(AARCH)_*),) +# Generate symbol list with union of all symbol list for ARCH +$(ALL_KMI_SYMBOLS): $(wildcard $(srctree)/android/abi_gki_$(AARCH)_*) $(if $(strip $^),cat $^ > $(ALL_KMI_SYMBOLS), echo "" > $(ALL_KMI_SYMBOLS)) # ABI protected exports list file specific to ARCH if exists else empty