patches/uClibc/0.9.30.2/240-host-utils-depend-on-headers.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 22:46:47 2011 +0200 (2011-07-17)
changeset 2892 aa934ec4b4ee
permissions -rw-r--r--
cc/gcc: add the backend/frontend infra for final gcc

Currently, we issue the bare-metal compiler from the pass_1 & pass_2
core compilers, because the final gcc breaks while doing so.

This implies we have to build some libces during the start_files step,
instead of the standard libc step. This is the case for newlib.

By adding a backend/frontend infra to the final gcc, we can abstract
what backend to call: the standard backend for non-bare-metal gcc,
and the core backend for bare-metal.

This patch is just an no-op, it just adds the final backend and
frontend without changing the way bare-metal is built, to come in a
subsequent patch.

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