Home | History | Annotate | Download | only in core

Lines Matching refs:whole

316 # Function : link-whole-archives
317 # Arguments: 1: list of whole static libraries
318 # Returns : linker flags to use the whole static libraries
319 # Usage : $(call link-whole-archives,<libraries>)
320 # Rationale: This function is used to put the list of whole static libraries
321 # inside a -Wl,--whole-archive ... -Wl,--no-whole-archive block.
326 link-whole-archives = $(if $(strip $1),$(call link-whole-archive-flags,$1))
327 link-whole-archive-flags = -Wl,--whole-archive $(call host-path,$1) -Wl,--no-whole-archive
329 -test-link-whole-archive = \
330 $(call test-expect,,$(call link-whole-archives))\
331 $(eval _start := -Wl,--whole-archive)\
332 $(eval _end := -Wl,--no-whole-archive)\
333 $(call test-expect,$(_start) foo $(_end),$(call link-whole-archives,foo))\
334 $(call test-expect,$(_start) foo bar $(_end),$(call link-whole-archives,foo bar))
650 # Returns : List of whole static library modules.
652 module-get-whole-static-libs = $(__ndk_modules.$1.WHOLE_STATIC_LIBRARIES)
657 # Returns : List of static library modules (whole or not).
713 # Note: This doesn't differentiate between regular and whole static
714 # libraries. Use module-extract-whole-static-libs to filter the
732 # to be linked as whole, i.e. placed in a special section on the final
735 # $2: list of all static link-time libraries (regular or whole).
737 # as whole.
739 module-extract-whole-static-libs = $(strip \
740 $(eval _ndk_mod_whole_all := $(call map,module-get-whole-static-libs,$1 $2))\