Lines Matching refs:abi
56 MODULE_SOLIBS := $(foreach lib,$(MODULE_LIBS),$(call TOBUILDDIR,$(lib))/lib$(notdir $(lib)).so.abi)
91 # Only update the .so.abi file if it's changed, so things don't need
93 $(MODULE_LIBNAME).so.abi: $(MODULE_LIBNAME).abi.stamp ;
109 $(MODULE_LIBNAME).abi.stamp: _SONAME := lib$(MODULE_SO_NAME).so
110 $(MODULE_LIBNAME).abi.stamp: _LIBS := $(MODULE_SOLIBS)
111 $(MODULE_LIBNAME).abi.stamp: $(MODULE_LIBNAME).abi.o $(MODULE_SOLIBS) \
112 $(MODULE_LIBNAME).abi.h scripts/shlib-symbols
113 $(call BUILDECHO,generating ABI stub $(@:.abi.stamp=.so.abi))
116 $< $(_LIBS) -o $(@:.abi.stamp=.so.abi).new
118 $(NOECHO)$(SHELLEXEC) scripts/shlib-symbols '$(NM)' $(@:.abi.stamp=.so.abi).new | \
122 if cmp -s $(@:.abi.stamp=.so.abi).new $(@:.abi.stamp=.so.abi); then \
123 rm $(@:.abi.stamp=.so.abi).new; \
125 mv -f $(@:.abi.stamp=.so.abi).new $(@:.abi.stamp=.so.abi); \
129 $(MODULE_LIBNAME).abi.h: $(MODULE_LIBNAME).so scripts/shlib-symbols
132 $(MODULE_LIBNAME).abi.o: $(MODULE_LIBNAME).abi.h scripts/dso-abi.h
134 $(ARCH_CFLAGS) -c -include scripts/dso-abi.h \
138 EXTRA_BUILDDEPS += $(MODULE_LIBNAME).so.abi
140 $(MODULE_LIBNAME).so $(MODULE_LIBNAME).so.abi $(MODULE_LIBNAME).abi.stamp \
141 $(MODULE_LIBNAME).abi.h $(MODULE_LIBNAME).abi.o
208 MODULE_PKG_SRCS += lib/lib$(MODULE_SO_NAME).so=BUILD/$(patsubst $(BUILDDIR)/%,%,$(MODULE_LIBNAME)).so.abi
243 MODULE_PKG_SRCS += lib/libzircon.so=BUILD/system/ulib/zircon/libzircon.so.abi
309 # Install the .so.abi, which is needed at link time, into the sysroot's lib directory.
311 MODULE_TEMP_NAME := $(BUILDSYSROOT)/lib/lib$(MODULE_SO_NAME).so.abi
312 $(call copy-dst-src,$(MODULE_TEMP_NAME),$(MODULE_LIBNAME).so.abi)