move generic kernel build parts out of board support patches