buildgcc: remove getopt when doing clean.

Change-Id: I9f59a00e735f39df813b2216290da62eea3c595d
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/11372
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
zbao 2015-08-26 22:00:31 -04:00 committed by Zheng Bao
parent 1cb1c924c5
commit ff3f15cd4d
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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"
}