Remove GBB-populating script since we no longer prebuild GBB.

Change-Id: Ia4cb505c27a4f868ff409968e3ba79603308e234

Review URL: http://codereview.chromium.org/3602019
This commit is contained in:
Tom Wai-Hong Tam 2010-10-07 02:28:59 +08:00
parent 145b4e0412
commit 146e8e8a80

View File

@ -1,20 +0,0 @@
#!/bin/bash
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/factory_WriteGBB"
pushd ${TEST_DIR} 1> /dev/null
GBB_FILE="gbb_${BOARD}*"
FIRST_GBB_FILE=$(ls $GBB_FILE 2> /dev/null | head -1)
if [ -e "${FIRST_GBB_FILE}" -o "${BOARD}" = "x86-generic" ]; then
# Remove GBB files belonging to other boards
ls gbb* 2> /dev/null | grep -v gbb_${BOARD} | xargs rm -f
else
echo "No GBB file found at: ${GBB_FILE}"
fi
popd 1> /dev/null