aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch
blob: 7c29e15e20b251022157fc63f49ef96d7fb3268a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 8ce50bf569ec2d931735180079bbe507730626c8 Mon Sep 17 00:00:00 2001
From: Yann Dirson <yann@blade-group.com>
Date: Mon, 7 Sep 2020 18:17:21 +0200
Subject: [PATCH] Remove buggy test confusing host and target

---
 src/libcec/cmake/CheckPlatformSupport.cmake | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
index 1d99bd8..31dac4f 100644
--- a/src/libcec/cmake/CheckPlatformSupport.cmake
+++ b/src/libcec/cmake/CheckPlatformSupport.cmake
@@ -266,14 +266,6 @@ else()
                 DESTINATION python/cec)
       endif()
     else()
-      if(EXISTS "/etc/os-release")
-        file(READ "/etc/os-release" OS_RELEASE)
-        string(REGEX MATCH "ID(_LIKE)?=debian" IS_DEBIAN ${OS_RELEASE})
-        if (IS_DEBIAN)
-          SET(PYTHON_PKG_DIR "dist-packages")
-        endif()
-      endif()
-
       if (NOT PYTHON_PKG_DIR)
         SET(PYTHON_PKG_DIR "site-packages")
       endif()
-- 
2.28.0