aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-profile-opt3_3.5.2.bb
blob: e85807f9f907510d7fc2ef5b38e4e638d055b64d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require python3_${PV}.bb

SRC_URI += "file://rename-libpython3-to-libpython-profile-opt3.patch \
            file://Makefile-add-install_generate_profile-target.patch \
           "

# Use special prefix in order to prevent clash with the normal python3 package
STAGING_INCDIR_DEFAULT = "${STAGING_DIR_HOST}/usr/include"
STAGING_LIBDIR_DEFAULT = "${STAGING_DIR_HOST}/usr/${baselib}"
TARGET_CFLAGS += "-I${STAGING_INCDIR_DEFAULT}"
TARGET_CPPFLAGS += "-I${STAGING_INCDIR_DEFAULT}"
prefix = "/opt"
exec_prefix = "/opt"

PYTHON3_MAKE_TARGET = "build_all_generate_profile"