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 <gprocida@google.com>
This commit is contained in:
Giuliano Procida
2024-10-07 13:16:21 +01:00
committed by Ulises Mendez Martinez
parent 1dfd260fc2
commit 412b2860b4
+2 -2
View File
@@ -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