Revert "[Tizen] Fix gen-buildsys-clang.sh to set CLR_CMAKE_LINUX_ID" backup/tizen_5.5/20190304
authorHyungju Lee <leee.lee@samsung.com>
Wed, 12 Dec 2018 22:53:24 +0000 (07:53 +0900)
committer이형주/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Fri, 14 Dec 2018 05:10:37 +0000 (14:10 +0900)
This reverts commit 26389129ae16c6dd9b1fca19684b6d4ffbe59593.

src/pal/tools/gen-buildsys-clang.sh

index 46e08f9..adc99c3 100755 (executable)
@@ -150,9 +150,6 @@ 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