Merge "doc: add spm and spmd related build options" into integration