mk: abi does not depend shared-lib dependencies

This patch cuts the superfluous dependency of abi.so files from the
library dependencies of the corresponding lib.so file. ABIs depend
only on symbol files.

Prior this patch, the second step of the following sequence would
wrongly re-build the abi.so file.

  arm_v6$ make init
  arm_v6$ make init KERNEL=hw

As the KERNEL argument does not affect the ABI, the abi.so should
better not be created twice.

Issue #4408
This commit is contained in:
Norman Feske 2022-02-16 14:05:27 +01:00
parent 019cacf07e
commit 4769e05626

View File

@ -221,7 +221,7 @@ STATIC_LIBS_BRIEF := $(subst $(LIB_CACHE_DIR),$$libs,$(STATIC_LIBS))
#
ENTRY_POINT ?= 0x0
$(LIB_SO) $(ABI_SO): $(SHARED_LIBS)
$(LIB_SO): $(SHARED_LIBS)
$(LIB_SO): $(STATIC_LIBS) $(OBJECTS) $(wildcard $(LD_SCRIPT_SO)) $(LIB_SO_DEPS)
$(MSG_MERGE)$(LIB_SO)