From e2e1f3ca391b7ad8bbe4407b2edf5ee2778892c5 Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <yamada.m@jp.panasonic.com>
Date: Mon, 11 Nov 2013 14:36:03 +0900
Subject: [PATCH] tools: Makefile: delete redundant lines

HOSTOS is defined and exported at the top Makefile.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
 tools/gdb/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/gdb/Makefile b/tools/gdb/Makefile
index dee91fccc0a..dd98fb65c0d 100644
--- a/tools/gdb/Makefile
+++ b/tools/gdb/Makefile
@@ -23,8 +23,6 @@ BINS	:= $(addprefix $(obj),$(BINS))
 #
 HOSTCPPFLAGS = -I$(BFD_ROOT_DIR)/include
 
-HOSTOS := $(shell uname -s | sed -e 's/\([Cc][Yy][Gg][Ww][Ii][Nn]\).*/cygwin/')
-
 ifeq ($(HOSTOS),cygwin)
 
 all:
-- 
GitLab