phase1: handle source directory with libc suffix
authorJo-Philipp Wich <jo@mein.io>
Wed, 20 Jul 2016 13:01:12 +0000 (15:01 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 20 Jul 2016 13:01:15 +0000 (15:01 +0200)
commitaac9d35b96a0d59ad351e679b799030ab7647f83
tree0edd064efdd2742737077f735f60e6145df97718
parentc89bca2e79c62a8996be44427a31f9081aeb4c4e
phase1: handle source directory with libc suffix

The ARC architectures use "generic-uClibc" instead of the expected "generic"
as subtarget directory name, leading to errors in the rsync step because the
expected directory cannot be found.

Extract the libc flavor from the generated .config and decide whether to use
a directory suffix based on the value obtained in order to let ARC uploads
complete successfully.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg