Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1f7fb7a authored by Ying Wang's avatar Ying Wang
Browse files

Don't rename host libraries if only one arch is build.

This makes it simpler to reference normal host modules by just their
original names even if they are built for the 2nd arch.

Change-Id: I49d32dad0dc523c458d5f9176993037d8695e6a5
parent a45a5d27
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ endif
endif
endif

ifneq ($(my_module_multilib),both)
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX := true
endif

LOCAL_2ND_ARCH_VAR_PREFIX :=
include $(BUILD_SYSTEM)/module_arch_supported.mk

@@ -34,6 +38,7 @@ endif
LOCAL_2ND_ARCH_VAR_PREFIX :=
endif  # HOST_2ND_ARCH

LOCAL_NO_2ND_ARCH_MODULE_SUFFIX :=
my_module_arch_supported :=

###########################################################
+5 −0
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ endif
endif
endif

ifneq ($(my_module_multilib),both)
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX := true
endif

LOCAL_2ND_ARCH_VAR_PREFIX :=
include $(BUILD_SYSTEM)/module_arch_supported.mk

@@ -34,6 +38,7 @@ endif
LOCAL_2ND_ARCH_VAR_PREFIX :=
endif  # HOST_2ND_ARCH

LOCAL_NO_2ND_ARCH_MODULE_SUFFIX :=
my_module_arch_supported :=

###########################################################