Detect Yocto as OS distribution 41/14741/1
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 27 Jun 2018 16:20:25 +0000 (18:20 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 27 Jun 2018 16:20:25 +0000 (18:20 +0200)
commit51026d2f67bfea01346daceb25c91809fb87c322
tree81d8c4c7605ad717e6d453a933393e1ae943169a
parent1f2944eea3a418ec02920673a390ed4b5d417a2b
Detect Yocto as OS distribution

When you are in a Yocto Environment there isn't os-release
file, so if the Yocto env is detected then position
manually the OSRELEASE variable to yocto-build.

Change-Id: I10029664100bb73aa74eaa85c1a4295c4ab65428
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/common.cmake