summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-12-13 18:44:18 -0800
committerKhem Raj <raj.khem@gmail.com>2021-12-16 08:14:03 -0800
commitcfc4c1db09a198cb00a55c3f95376f3a7ef4d9b2 (patch)
treeafa0fd0881bd91eff3ea9a6d78aeee31a8f5df23 /meta-python
parent039d71bc60ce82ebbc0087f4b3f2347693fc166b (diff)
downloadmeta-openembedded-cfc4c1db09a198cb00a55c3f95376f3a7ef4d9b2.tar.gz
python3-matplotlib: Generate correctly names setup config file
The file should be called mplsetup.cfg" Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
index f9eb79ff1c..f8448d5f1d 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
@@ -40,12 +40,12 @@ RDEPENDS:${PN} = "\
40 ${PYTHON_PN}-pytz \ 40 ${PYTHON_PN}-pytz \
41" 41"
42 42
43ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/setup.cfg" 43ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
44ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/setup.cfg" 44ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
45ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/setup.cfg" 45ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/mplsetup.cfg"
46do_compile:prepend() { 46do_compile:prepend() {
47 echo [libs] > ${S}/setup.cfg 47 echo [libs] > ${S}/mplsetup.cfg
48 echo system_freetype = true >> ${S}/setup.cfg 48 echo system_freetype = True >> ${S}/mplsetup.cfg
49 ${ENABLELTO} 49 ${ENABLELTO}
50} 50}
51 51