move flags to BoardConfig.mk