Use the file emerge-<board> to decide if setup_board need to be executed.

The original logic to detect setup_board has been executed has 2 problems:
1. It uses <target> instead of <board>, if two boards uses same toolchain, it may prevent setup_board for second board.
2. Now the directories used to detect setup_board exist all the times, so setup_board will never be executed.

These problems can be fixed with file emerge-<board>.

Tested:
./build_tc.py -b daisy,x86-alex,lumpy,stumpy -c ~/cros2/ -g ~/gcc47cros/

PRESUBMIT=passed
R=shenhan,asharif,yunlian,llozano,cmtice
CC=c-compiler-chrome
APPROVED=llozano
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=65575-p2
RCL=65581-p2
RDATE=2013/01/31 13:48:40


P4 change: 42806569
1 file changed
tree: 886b92fae6167932ca8735020543d0ed12e219e0
  1. .git5_specs/
  2. v14/