I use buildtarget like this :

in ../targets/ :

$ ./buildtarget advantech/pcm-5823

see log1

cd advantech/pcm-5823/pcm-5823/

make

see log2 
