Update BoardConfigCommon.mk

update and add some optimizations