diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-03-03 21:40:52 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-03-04 19:31:09 -0800 |
commit | 69291f7a5dfc3747ecd4f9c0d2d3b5915285ee60 (patch) | |
tree | 575efc21a9a77fa2d9055746767b51119a7f2e46 /recipes-devtools/bcc/bcc | |
parent | 653bea6d3b478ad50b0c6576d8543cdc11dfc808 (diff) | |
download | meta-clang-69291f7a5dfc3747ecd4f9c0d2d3b5915285ee60.tar.gz |
bcc: inherit python3native
Use python3-native rather than the version provided by the build host.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'recipes-devtools/bcc/bcc')
-rw-r--r-- | recipes-devtools/bcc/bcc/0001-python-CMakeLists.txt-Remove-check-for-host-etc-debi.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-devtools/bcc/bcc/0001-python-CMakeLists.txt-Remove-check-for-host-etc-debi.patch b/recipes-devtools/bcc/bcc/0001-python-CMakeLists.txt-Remove-check-for-host-etc-debi.patch new file mode 100644 index 0000000..4d71b15 --- /dev/null +++ b/recipes-devtools/bcc/bcc/0001-python-CMakeLists.txt-Remove-check-for-host-etc-debi.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From cb3f032b55b32c50201862b26c76ea18ad37cb39 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ovidiu Panait <ovidiu.panait@windriver.com> | ||
3 | Date: Thu, 30 Jan 2020 14:19:33 +0200 | ||
4 | Subject: [PATCH] python/CMakeLists.txt: Remove check for host | ||
5 | /etc/debian_version | ||
6 | |||
7 | Fix the following error that occurs during do_install when using the native | ||
8 | version of python3: | ||
9 | usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] | ||
10 | or: setup.py --help [cmd1 cmd2 ...] | ||
11 | or: setup.py --help-commands | ||
12 | or: setup.py cmd --help | ||
13 | |||
14 | error: option --install-layout not recognized | ||
15 | |||
16 | Upstream-status: Innapropriate [oe-specific] | ||
17 | |||
18 | Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> | ||
19 | --- | ||
20 | src/python/CMakeLists.txt | 4 ---- | ||
21 | 1 file changed, 4 deletions(-) | ||
22 | |||
23 | diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt | ||
24 | index fa602397..797e0d14 100644 | ||
25 | --- a/src/python/CMakeLists.txt | ||
26 | +++ b/src/python/CMakeLists.txt | ||
27 | @@ -5,10 +5,6 @@ if(NOT PYTHON_CMD) | ||
28 | set(PYTHON_CMD "python") | ||
29 | endif() | ||
30 | |||
31 | -if(EXISTS "/etc/debian_version") | ||
32 | - set(PYTHON_FLAGS "${PYTHON_FLAGS} --install-layout deb") | ||
33 | -endif() | ||
34 | - | ||
35 | file(GLOB_RECURSE PYTHON_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
36 | ${CMAKE_CURRENT_SOURCE_DIR}/*.py) | ||
37 | file(GLOB_RECURSE PYTHON_INCLUDES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
38 | -- | ||
39 | 2.17.1 | ||
40 | |||