[Buildroot] [PATCH 02/13] Remove cc-option: not used anywhere

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Fri Mar 9 06:22:03 UTC 2012


On Wed, Mar 7, 2012 at 8:34 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>

> ---
>  Makefile |    7 -------
>  1 files changed, 0 insertions(+), 7 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index bfa82d2..7cc2380 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -177,13 +177,6 @@ BUILD_DIR:=$(BASE_DIR)/build
>
>  ifeq ($(BR2_HAVE_DOT_CONFIG),y)
>
> -# cc-option
> -# Usage: cflags-y+=$(call cc-option, -march=winchip-c6, -march=i586)
> -# sets -march=winchip-c6 if supported else falls back to -march=i586
> -# without checking the latter.
> -cc-option=$(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
> -       > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
> -
>  #############################################################
>  #
>  # Hide troublesome environment variables from sub processes
> --
> 1.7.4.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list