Additional board flag checks in rootdir

Change-Id: Id97e9d130c67210a1156ac0402f9cf0619c134f8
Signed-off-by: Gergely Szell <sethyx@gmail.com>