Lines Matching defs:host
110 # Function : host-prebuilt-tag
114 # Usage : $(call host-prebuilt-tag, <path>)
120 host-prebuilt-tag = $1/prebuilt/$(HOST_TAG)
122 host-prebuilt-tag = \
128 # Host system auto-detection.
133 # Determine host system and architecture from the environment
163 $(call ndk_log,Host OS was auto-detected: $(HOST_OS))
165 $(call ndk_log,Host OS from environment: $(HOST_OS))
187 $(call ndk_log,Found /bin/uname.exe on Windows host, checking for Cygwin)
209 $(call ndk_log, Host operating system detected: $(HOST_OS), base OS: $(HOST_OS_BASE))
211 $(call ndk_log, Host operating system detected: $(HOST_OS))
246 $(call __ndk_info,Unsupported host architecture: $(UNAME))
250 $(call ndk_log,Host CPU was auto-detected: $(HOST_ARCH))
252 $(call ndk_log,Host CPU from environment: $(HOST_ARCH))
262 # The directory separator used on this host
268 # The host executable extension
289 # special-case the host-tag
295 # Check for NDK-specific versions of our host tools
296 HOST_PREBUILT_ROOT := $(call host-prebuilt-tag, $(NDK_ROOT))
302 $(call ndk_log,Host tools prebuilt directory: $(HOST_PREBUILT))
317 $(call ndk_log,Host tools prebuilt directory not found, using system tools)
323 # Special case, on Cygwin, always use the host echo, not our prebuilt one
333 $(call ndk_log,Host 'echo' tool: $(HOST_ECHO))
343 $(call ndk_log,Host 'echo -n' tool: $(HOST_ECHO_N))
354 $(call ndk_log,Host 'cmp' tool: $(HOST_CMP))
364 $(call ndk_log,Host 'awk' tool: $(HOST_AWK))
370 $(call ndk_log,Host 'awk' test returned: $(AWK_TEST))
372 $(call __ndk_info,Host 'awk' tool is outdated. Please define NDK_HOST_AWK to point to Gawk or Nawk !)
377 # On Cygwin/MSys, define the 'cygwin-to-host-path' function here depending on the
380 # 1/ If NDK_USE_CYGPATH=1 and cygpath does exist in your path, cygwin-to-host-path
381 # calls "cygpath -m" for each host path. Since invoking 'cygpath -m' from GNU
385 # 2/ Generate a Make function that performs the mapping from cygwin/msys to host
389 # cygwin-to-host-path = $(patsubst /cygdrive/c/%,c:/%,\
393 # cygwin-to-host-path = $(patsubst /c/%,c:/%,\
419 cygwin-to-host-path = $(strip $(shell $(CYGPATH) -m $1))
422 WINDOWS_HOST_PATH_FRAGMENT := $(shell mount | tr '\\' '/' | $(HOST_AWK) -f $(BUILD_AWK)/gen-windows-host-path.awk)
425 $(eval $(shell mount | tr '\\' '/' | $(HOST_AWK) -f $(BUILD_AWK)/gen-windows-host-path.awk -vVERBOSE=1))
427 $(eval cygwin-to-host-path = $(WINDOWS_HOST_PATH_FRAGMENT))