Home | History | Annotate | Download | only in core

Lines Matching defs:whole

319 # Function : link-whole-archives
320 # Arguments: 1: list of whole static libraries
321 # Returns : linker flags to use the whole static libraries
322 # Usage : $(call link-whole-archives,<libraries>)
323 # Rationale: This function is used to put the list of whole static libraries
324 # inside a -Wl,--whole-archive ... -Wl,--no-whole-archive block.
329 link-whole-archives = $(if $(strip $1),$(call link-whole-archive-flags,$1))
330 link-whole-archive-flags = -Wl,--whole-archive $(call host-path,$1) -Wl,--no-whole-archive
332 -test-link-whole-archive = \
333 $(call test-expect,,$(call link-whole-archives))\
334 $(eval _start := -Wl,--whole-archive)\
335 $(eval _end := -Wl,--no-whole-archive)\
336 $(call test-expect,$(_start) foo $(_end),$(call link-whole-archives,foo))\
337 $(call test-expect,$(_start) foo bar $(_end),$(call link-whole-archives,foo bar))
667 # Returns : List of whole static library modules.
669 module-get-whole-static-libs = $(__ndk_modules.$1.WHOLE_STATIC_LIBRARIES)
674 # Returns : List of static library modules (whole or not).
730 # Note: This doesn't differentiate between regular and whole static
731 # libraries. Use module-extract-whole-static-libs to filter the
749 # to be linked as whole, i.e. placed in a special section on the final
752 # $2: list of all static link-time libraries (regular or whole).
754 # as whole.
756 module-extract-whole-static-libs = $(strip \
757 $(eval _ndk_mod_whole_all := $(call map,module-get-whole-static-libs,$1 $2))\