patches/uClibc/0.9.30.2/240-host-utils-depend-on-headers.patch
author Remy Bohmer <linux@bohmer.net>
Thu May 27 23:18:19 2010 +0200 (2010-05-27)
changeset 2060 51e4597b07fc
permissions -rw-r--r--
scripts: add option to strip all toolchain executables

To reduce filesizes of the toolchain and even improve build times
of projects to be build with this toolchain it is usefull to strip
the delivered toolchain executables. Since it is not likely that we
will debug the toolchain executables itself we do not need the
debug information inside the executables itself.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
yann@1819
     1
From 47e88c04e01299f975ff23f33035d0f34a8f6787 Mon Sep 17 00:00:00 2001
yann@1819
     2
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
yann@1819
     3
Date: Fri, 22 Jan 2010 13:32:44 +0100
yann@1819
     4
Subject: [PATCH 06/15] {,host}utils depend on headers
yann@1819
     5
yann@1819
     6
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
yann@1819
     7
---
yann@1819
     8
 Makefile.in |    4 ++--
yann@1819
     9
 1 files changed, 2 insertions(+), 2 deletions(-)
yann@1819
    10
yann@1819
    11
diff --git a/Makefile.in b/Makefile.in
yann@1819
    12
index 4c5aecb..ec4c28e 100644
yann@1819
    13
--- a/Makefile.in
yann@1819
    14
+++ b/Makefile.in
yann@1819
    15
@@ -436,7 +436,7 @@ ifeq ($(HAVE_SHARED),y)
yann@1819
    16
 	fi
yann@1819
    17
 endif
yann@1819
    18
 
yann@1819
    19
-utils:
yann@1819
    20
+utils: headers
yann@1819
    21
 	$(Q)$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C utils $@
yann@1819
    22
 
yann@1819
    23
 # Installs helper applications, such as 'ldd' and 'ldconfig'
yann@1819
    24
@@ -445,7 +445,7 @@ install_utils: utils
yann@1819
    25
 
yann@1819
    26
 endif # ifeq ($(HAVE_DOT_CONFIG),y)
yann@1819
    27
 
yann@1819
    28
-hostutils:
yann@1819
    29
+hostutils: headers
yann@1819
    30
 	$(Q)$(MAKE) CROSS="$(CROSS)" CC="$(CC)" HOSTCC="$(HOSTCC)" DOTHOST=.host -C utils $@
yann@1819
    31
 
yann@1819
    32
 install_hostutils: hostutils
yann@1819
    33
-- 
yann@1819
    34
1.6.6.1
yann@1819
    35