diff mbox

[02/22] Remove cc-option: not used anywhere

Message ID f29f6efc37cf8f3b23bb23383ffb8e590de38e17.1334673910.git.thomas.petazzoni@free-electrons.com
State Accepted, archived
Headers show

Commit Message

Thomas Petazzoni April 17, 2012, 2:45 p.m. UTC
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 Makefile |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

Comments

Peter Korsgaard April 19, 2012, 1:54 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.
diff mbox

Patch

diff --git a/Makefile b/Makefile
index f56c8ee..90c2086 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