external-toolchain: only copy existing directories of the sysroot
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 5 Jul 2010 16:58:56 +0000 (18:58 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 6 Jul 2010 05:56:26 +0000 (07:56 +0200)
commit6d510536371b8147af389f914a94509937dc18f3
tree7980b1f3b857278f09990212687966a56a7d517b
parent07d15f907bfc8737abc69cfb11ce30c88e9bb5c2
external-toolchain: only copy existing directories of the sysroot

Instead of copying all directories in "etc lib sbin usr", check that
each of them exists before doing the copy. This is only to avoid an
harmless error message.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/external-toolchain/ext-tool.mk