From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Thu, 31 Dec 2015 01:35:50 +0100 Subject: [Buildroot] [PATCH] Config.in: add symbols for BR2_HOST_GCC_AT_LEAST_X_Y In-Reply-To: <1451522053-2797-1-git-send-email-arnout@mind.be> References: <1451522053-2797-1-git-send-email-arnout@mind.be> Message-ID: <56847866.5080105@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Sorry, forgot to add -v4. Regards, Arnout On 31-12-15 01:34, Arnout Vandecappelle (Essensium/Mind) wrote: > From: Arnout Vandecappelle > > Some host packages need a recent gcc version. Add symbols to Config.in > to specify the HOSTCC version. The values are passed through the > environment, and this environment is generated in a new support script. > > Also update the documentation to mention the new symbols. > > [Thomas: simplify by using only make logic instead of an external > shell script.] > > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) > Signed-off-by: Thomas Petazzoni > --- > v4: Further simplification by Arnout: no post-processing is needed for > 4.X versions if we keep the space in "4 9". Also use extended regex > to simplify the sed script a little. > v3: Alternative version by Thomas that removes the external shell > script. > v2: Use a single environment variable and select statements (Yann) > This makes the shell script ridiculously simple. I've tried to move > it to the Makefile, but then all the additional quoting etc. makes > it complicated again. [snip] -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF