]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/Makefile.am: Override STRIP and RANLIB.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Sep 2013 10:55:18 +0000 (12:55 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Sep 2013 10:55:18 +0000 (12:55 +0200)
* configure.ac: compute TARGET_RANLIB.
* INSTALL: Document TARGET_RANLIB

Based on patches from AROS.

ChangeLog
INSTALL
configure.ac
grub-core/Makefile.am

index df33d84ed9df19e7735dc664b89c05b47bacc5c2..3cdf0d84a3547d6ba00fda05ec7bdf4ae243d4f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-09-23  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/Makefile.am: Override STRIP and RANLIB.
+       * configure.ac: compute TARGET_RANLIB.
+       * INSTALL: Document TARGET_RANLIB
+
+       Based on patches from AROS.
+
 2013-09-23  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/getroot.c (grub_util_biosdisk_get_grub_dev): Do not assume
diff --git a/INSTALL b/INSTALL
index 16c99da3f1c3f0431d2b8e82d5f901a465a4f876..94d8175fc5cea96d021a168851557879e199d526 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -140,7 +140,7 @@ CC=amd64-linux-gnu-gcc CFLAGS="-g -O2" FREETYPE=amd64-linux-gnu-freetype-config
 --target=arm --with-platform=uboot TARGET_CC=arm-elf-gcc
 TARGET_CFLAGS="-Os -march=armv6" TARGET_CCASFLAGS="-march=armv6"
 TARGET_OBJCOPY="arm-elf-objcopy" TARGET_STRIP="arm-elf-strip"
-TARGET_NM=arm-elf-nm LEX=gflex
+TARGET_NM=arm-elf-nm TARGET_RANLIB=arm-elf-ranlib LEX=gflex
 
 You need to use following options to specify tools and platforms. For minimum
 version look at prerequisites. All tools not mentioned in this section under
@@ -177,6 +177,7 @@ corresponding platform are not needed for the platform in question.
     8. TARGET_OBJCOPY= for objcopy for target.
     9. TARGET_STRIP= for strip for target.
     10. TARGET_NM= for nm for target.
+    11. TARGET_RANLIB= for ranlib for target.
 
   - Additionally for emu, for host and target.
     1. SDL is looked for in stadard linker directories (-lSDL) (optional)
index 01d11e8ee5e250721c2be76e5ddfdbbd23273be2..63e721f851de5cce258d054fc4cfa2dd12240885 100644 (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)
index 293fde4344cb6be74f52a64346981dbe6c609f0f..86f335f0ffc2bd3bf1de1220902ab240b7ff8ead 100644 (file)
@@ -7,6 +7,8 @@ include $(top_srcdir)/conf/Makefile.common
 CC=$(TARGET_CC)
 CPP=$(TARGET_CC)
 CCAS=$(TARGET_CC)
+RANLIB=$(TARGET_RANLIB)
+STRIP=$(TARGET_STRIP)
 
 if COND_HAVE_FONT_SOURCE
 TARGET_CFLAGS += -DUSE_ASCII_FALLBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1