summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-08-29 07:56:17 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 12:49:14 (GMT)
commit26389129ae16c6dd9b1fca19684b6d4ffbe59593 (patch)
tree575a1df014acbbef3f10e3460aaab743dc2e38f4
parent39130a7580a8f7ce16f425f164c5afd954789615 (diff)
downloadcoreclr-26389129ae16c6dd9b1fca19684b6d4ffbe59593.zip
coreclr-26389129ae16c6dd9b1fca19684b6d4ffbe59593.tar.gz
coreclr-26389129ae16c6dd9b1fca19684b6d4ffbe59593.tar.bz2
[Tizen] Fix gen-buildsys-clang.sh to set CLR_CMAKE_LINUX_ID
Change-Id: I95043b2fcdccd27e3ae198f7c41d89bde3049c48
-rwxr-xr-xsrc/pal/tools/gen-buildsys-clang.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pal/tools/gen-buildsys-clang.sh b/src/pal/tools/gen-buildsys-clang.sh
index adc99c3..46e08f9 100755
--- a/src/pal/tools/gen-buildsys-clang.sh
+++ b/src/pal/tools/gen-buildsys-clang.sh
@@ -150,6 +150,9 @@ if [ $OS == "Linux" ]; then
if [[ -e $linux_id_file ]]; then
source $linux_id_file
cmake_extra_defines="$cmake_extra_defines -DCLR_CMAKE_LINUX_ID=$ID"
+ elif [[ -e "$1/os-release" ]]; then
+ source $1/os-release
+ cmake_extra_defines="$cmake_extra_defines -DCLR_CMAKE_LINUX_ID=$ID"
fi
fi
if [ "$build_arch" == "armel" ]; then