patches/uClibc/0.9.30.2/240-host-utils-depend-on-headers.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Wed Oct 03 15:59:22 2012 +1000 (2012-10-03)
changeset 3071 5243d1b432b1
permissions -rw-r--r--
scripts/gdb: If not building expat for gdb, disable

--with-expat=yes is unconditionally passed to the gdb configure
stage, instead of respecting the ${do_expat} decision.

Disable if not needed. Prevents error building canadian cross;

configure: error: expat is missing or unusable

Where configure stage fails to find expat on the host compiler.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <4c4410a2a8aab24a29c5.1349244128@localhost.localdomain>
PatchWork-Id: 188711
     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