From ff3f15cd4dcd631e982332c9912a07c28ee42def Mon Sep 17 00:00:00 2001 From: zbao Date: Wed, 26 Aug 2015 22:00:31 -0400 Subject: buildgcc: remove getopt when doing clean. Change-Id: I9f59a00e735f39df813b2216290da62eea3c595d Signed-off-by: Zheng Bao Signed-off-by: Zheng Bao Reviewed-on: http://review.coreboot.org/11372 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/crossgcc/Makefile | 1 + util/crossgcc/buildgcc | 1 + 2 files changed, 2 insertions(+) (limited to 'util') diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile index b4b0223a45..b1fba4ab02 100644 --- a/util/crossgcc/Makefile +++ b/util/crossgcc/Makefile @@ -76,6 +76,7 @@ clean_tempfiles: rm -rf llvm-* clang-tools-* cfe-* compiler-rt-* rm -rf acpica-* rm -rf gdb-* + rm -f getopt clean: clean_tempfiles rm -rf xgcc diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index f39c4b6fa9..f4522edcdd 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -280,6 +280,7 @@ cleanup() for package in $PACKAGES; do rm -rf build-${TARGETARCH}-$package $(eval echo \$$package"_DIR") done + rm -f getopt printf "${green}ok${NC}\n" } -- cgit v1.2.3