[Buildroot] [buildroot 0001209]: uClibc won't build when GREP_OPTIONS is set
From: bugs at busybox.net <hidden>
Date: 2007-06-26 13:48:53
The following issue has been CLOSED ====================================================================== http://busybox.net/bugs/view.php?id=1209 ====================================================================== Reported By: bagland Assigned To: buildroot ====================================================================== Project: buildroot Issue ID: 1209 Category: Architecture Specific Reproducibility: always Severity: minor Priority: normal Status: closed Resolution: open Fixed in Version: ====================================================================== Date Submitted: 02-12-2007 05:12 PST Last Modified: 06-26-2007 06:48 PDT ====================================================================== Summary: uClibc won't build when GREP_OPTIONS is set Description: If the environment variable GREP_OPTIONS contains -n, uClibc won't build because of this line: TARGET_ARCH:=$(shell grep -s ^TARGET_ARCH $(TOPDIR)/.config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g') in uClibc/Rules.mk. TARGET_ARCH becomes "30:arm", which leads to problems while running fix_includes.sh. The attached patch test for GREP_OPTIONS at the beginning of the build. ====================================================================== ---------------------------------------------------------------------- bernhardf - 06-26-07 06:48 ---------------------------------------------------------------------- Applied, thanks. Issue History Date Modified Username Field Change ====================================================================== 02-12-07 05:12 bagland New Issue 02-12-07 05:12 bagland Status new => assigned 02-12-07 05:12 bagland Assigned To => uClibc 02-12-07 05:12 bagland File Added: grep_options.patch 02-12-07 05:33 vapier Assigned To uClibc => buildroot 06-26-07 06:48 bernhardf Status assigned => closed 06-26-07 06:48 bernhardf Note Added: 0002518 ======================================================================