* grub-core/Makefile.am: Override STRIP and RANLIB.

* configure.ac: compute TARGET_RANLIB.
	* INSTALL: Document TARGET_RANLIB

	Based on patches from AROS.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-09-23 12:55:18 +02:00
parent 3f7d9c8280
commit 0e8daad0bd
4 changed files with 14 additions and 1 deletions

View file

@ -422,6 +422,7 @@ if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then
AC_CHECK_TOOL(TARGET_OBJCOPY, objcopy)
AC_CHECK_TOOL(TARGET_STRIP, strip)
AC_CHECK_TOOL(TARGET_NM, nm)
AC_CHECK_TOOL(TARGET_RANLIB, ranlib)
ac_tool_prefix="$tmp_ac_tool_prefix"
else
@ -431,6 +432,7 @@ else
AC_CHECK_TOOL(TARGET_OBJCOPY, objcopy)
AC_CHECK_TOOL(TARGET_STRIP, strip)
AC_CHECK_TOOL(TARGET_NM, nm)
AC_CHECK_TOOL(TARGET_RANLIB, ranlib)
fi
AC_SUBST(HOST_CC)