diff options
Diffstat (limited to 'meta/classes-recipe')
| -rw-r--r-- | meta/classes-recipe/autotools.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes-recipe/cargo.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes-recipe/go.bbclass | 4 | ||||
| -rw-r--r-- | meta/classes-recipe/gtk-icon-cache.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes-recipe/kernel.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes-recipe/python3native.bbclass | 6 | ||||
| -rw-r--r-- | meta/classes-recipe/python_pyo3.bbclass | 12 | ||||
| -rw-r--r-- | meta/classes-recipe/rust.bbclass | 8 | ||||
| -rw-r--r-- | meta/classes-recipe/setuptools3.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes-recipe/setuptools3_legacy.bbclass | 2 |
10 files changed, 21 insertions, 21 deletions
diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass index b1829e83e2..e33eae7d48 100644 --- a/meta/classes-recipe/autotools.bbclass +++ b/meta/classes-recipe/autotools.bbclass | |||
| @@ -52,7 +52,7 @@ export CC_FOR_BUILD = "${BUILD_CC}" | |||
| 52 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | 52 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" |
| 53 | 53 | ||
| 54 | export CXX_FOR_BUILD = "${BUILD_CXX}" | 54 | export CXX_FOR_BUILD = "${BUILD_CXX}" |
| 55 | export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}" | 55 | export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}" |
| 56 | 56 | ||
| 57 | export LD_FOR_BUILD = "${BUILD_LD}" | 57 | export LD_FOR_BUILD = "${BUILD_LD}" |
| 58 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" | 58 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" |
diff --git a/meta/classes-recipe/cargo.bbclass b/meta/classes-recipe/cargo.bbclass index b583f84bdf..76a39668c7 100644 --- a/meta/classes-recipe/cargo.bbclass +++ b/meta/classes-recipe/cargo.bbclass | |||
| @@ -42,7 +42,7 @@ CARGO_BUILD_FLAGS = "-v --frozen --target ${RUST_HOST_SYS} ${BUILD_MODE} --manif | |||
| 42 | # This is based on the content of CARGO_BUILD_FLAGS and generally will need to | 42 | # This is based on the content of CARGO_BUILD_FLAGS and generally will need to |
| 43 | # change if CARGO_BUILD_FLAGS changes. | 43 | # change if CARGO_BUILD_FLAGS changes. |
| 44 | BUILD_DIR = "${@['release', 'debug'][d.getVar('DEBUG_BUILD') == '1']}" | 44 | BUILD_DIR = "${@['release', 'debug'][d.getVar('DEBUG_BUILD') == '1']}" |
| 45 | CARGO_TARGET_SUBDIR="${RUST_HOST_SYS}/${BUILD_DIR}" | 45 | CARGO_TARGET_SUBDIR = "${RUST_HOST_SYS}/${BUILD_DIR}" |
| 46 | oe_cargo_build () { | 46 | oe_cargo_build () { |
| 47 | export RUSTFLAGS="${RUSTFLAGS}" | 47 | export RUSTFLAGS="${RUSTFLAGS}" |
| 48 | bbnote "Using rust targets from ${RUST_TARGET_PATH}" | 48 | bbnote "Using rust targets from ${RUST_TARGET_PATH}" |
diff --git a/meta/classes-recipe/go.bbclass b/meta/classes-recipe/go.bbclass index 9146dd611e..e3e4782025 100644 --- a/meta/classes-recipe/go.bbclass +++ b/meta/classes-recipe/go.bbclass | |||
| @@ -20,8 +20,8 @@ export GOCACHE = "${B}/.cache" | |||
| 20 | 20 | ||
| 21 | export GOARCH = "${TARGET_GOARCH}" | 21 | export GOARCH = "${TARGET_GOARCH}" |
| 22 | export GOOS = "${TARGET_GOOS}" | 22 | export GOOS = "${TARGET_GOOS}" |
| 23 | export GOHOSTARCH="${BUILD_GOARCH}" | 23 | export GOHOSTARCH = "${BUILD_GOARCH}" |
| 24 | export GOHOSTOS="${BUILD_GOOS}" | 24 | export GOHOSTOS = "${BUILD_GOOS}" |
| 25 | 25 | ||
| 26 | GOARM[export] = "0" | 26 | GOARM[export] = "0" |
| 27 | GOARM:arm:class-target = "${TARGET_GOARM}" | 27 | GOARM:arm:class-target = "${TARGET_GOARM}" |
diff --git a/meta/classes-recipe/gtk-icon-cache.bbclass b/meta/classes-recipe/gtk-icon-cache.bbclass index 9ecb49916c..fad8c4c65f 100644 --- a/meta/classes-recipe/gtk-icon-cache.bbclass +++ b/meta/classes-recipe/gtk-icon-cache.bbclass | |||
| @@ -16,7 +16,7 @@ GTKIC_CMD = "${@ 'gtk4-update-icon-cache' if d.getVar('GTKIC_VERSION') == '4' el | |||
| 16 | inherit features_check | 16 | inherit features_check |
| 17 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 17 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 18 | 18 | ||
| 19 | DEPENDS +=" ${@ '' if d.getVar('BPN') == 'hicolor-icon-theme' else 'hicolor-icon-theme' } \ | 19 | DEPENDS += "${@ '' if d.getVar('BPN') == 'hicolor-icon-theme' else 'hicolor-icon-theme' } \ |
| 20 | ${@ '' if d.getVar('BPN') == 'gdk-pixbuf' else 'gdk-pixbuf' } \ | 20 | ${@ '' if d.getVar('BPN') == 'gdk-pixbuf' else 'gdk-pixbuf' } \ |
| 21 | ${@ '' if d.getVar('BPN') == d.getVar('GTKPN') else d.getVar('GTKPN') } \ | 21 | ${@ '' if d.getVar('BPN') == d.getVar('GTKPN') else d.getVar('GTKPN') } \ |
| 22 | ${GTKPN}-native \ | 22 | ${GTKPN}-native \ |
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 0dd2e1e444..617727a989 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass | |||
| @@ -661,7 +661,7 @@ KERNEL_LOCALVERSION ??= "" | |||
| 661 | # Note: This class saves the value of localversion to a file | 661 | # Note: This class saves the value of localversion to a file |
| 662 | # so other recipes like make-mod-scripts can restore it via the | 662 | # so other recipes like make-mod-scripts can restore it via the |
| 663 | # helper function get_kernellocalversion_file | 663 | # helper function get_kernellocalversion_file |
| 664 | export LOCALVERSION="${KERNEL_LOCALVERSION}" | 664 | export LOCALVERSION = "${KERNEL_LOCALVERSION}" |
| 665 | 665 | ||
| 666 | kernel_do_configure() { | 666 | kernel_do_configure() { |
| 667 | # fixes extra + in /lib/modules/2.6.37+ | 667 | # fixes extra + in /lib/modules/2.6.37+ |
diff --git a/meta/classes-recipe/python3native.bbclass b/meta/classes-recipe/python3native.bbclass index 654a002fdb..da1283d6b3 100644 --- a/meta/classes-recipe/python3native.bbclass +++ b/meta/classes-recipe/python3native.bbclass | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | inherit python3-dir | 7 | inherit python3-dir |
| 8 | 8 | ||
| 9 | PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3" | 9 | PYTHON = "${STAGING_BINDIR_NATIVE}/python3-native/python3" |
| 10 | EXTRANATIVEPATH += "python3-native" | 10 | EXTRANATIVEPATH += "python3-native" |
| 11 | DEPENDS:append = " python3-native " | 11 | DEPENDS:append = " python3-native " |
| 12 | 12 | ||
| @@ -20,8 +20,8 @@ export STAGING_LIBDIR | |||
| 20 | # find_package(PythonLibs REQUIRED) | 20 | # find_package(PythonLibs REQUIRED) |
| 21 | # which ends up using libs/includes from build host | 21 | # which ends up using libs/includes from build host |
| 22 | # Therefore pre-empt that effort | 22 | # Therefore pre-empt that effort |
| 23 | export PYTHON_LIBRARY="${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so" | 23 | export PYTHON_LIBRARY = "${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so" |
| 24 | export PYTHON_INCLUDE_DIR="${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" | 24 | export PYTHON_INCLUDE_DIR = "${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" |
| 25 | 25 | ||
| 26 | # suppress host user's site-packages dirs. | 26 | # suppress host user's site-packages dirs. |
| 27 | export PYTHONNOUSERSITE = "1" | 27 | export PYTHONNOUSERSITE = "1" |
diff --git a/meta/classes-recipe/python_pyo3.bbclass b/meta/classes-recipe/python_pyo3.bbclass index 9a32eac6fd..7f5a00f584 100644 --- a/meta/classes-recipe/python_pyo3.bbclass +++ b/meta/classes-recipe/python_pyo3.bbclass | |||
| @@ -11,13 +11,13 @@ | |||
| 11 | 11 | ||
| 12 | inherit cargo python3-dir siteinfo | 12 | inherit cargo python3-dir siteinfo |
| 13 | 13 | ||
| 14 | export PYO3_CROSS="1" | 14 | export PYO3_CROSS = "1" |
| 15 | export PYO3_CROSS_PYTHON_VERSION="${PYTHON_BASEVERSION}" | 15 | export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_BASEVERSION}" |
| 16 | export PYO3_CROSS_LIB_DIR="${STAGING_LIBDIR}" | 16 | export PYO3_CROSS_LIB_DIR = "${STAGING_LIBDIR}" |
| 17 | export CARGO_BUILD_TARGET="${RUST_HOST_SYS}" | 17 | export CARGO_BUILD_TARGET = "${RUST_HOST_SYS}" |
| 18 | export RUSTFLAGS | 18 | export RUSTFLAGS |
| 19 | export PYO3_PYTHON="${PYTHON}" | 19 | export PYO3_PYTHON = "${PYTHON}" |
| 20 | export PYO3_CONFIG_FILE="${WORKDIR}/pyo3.config" | 20 | export PYO3_CONFIG_FILE = "${WORKDIR}/pyo3.config" |
| 21 | 21 | ||
| 22 | python_pyo3_do_configure () { | 22 | python_pyo3_do_configure () { |
| 23 | cat > ${WORKDIR}/pyo3.config << EOF | 23 | cat > ${WORKDIR}/pyo3.config << EOF |
diff --git a/meta/classes-recipe/rust.bbclass b/meta/classes-recipe/rust.bbclass index dae25cac2a..e727601679 100644 --- a/meta/classes-recipe/rust.bbclass +++ b/meta/classes-recipe/rust.bbclass | |||
| @@ -43,9 +43,9 @@ HOST_CFLAGS ?= "${CFLAGS}" | |||
| 43 | HOST_CXXFLAGS ?= "${CXXFLAGS}" | 43 | HOST_CXXFLAGS ?= "${CXXFLAGS}" |
| 44 | HOST_CPPFLAGS ?= "${CPPFLAGS}" | 44 | HOST_CPPFLAGS ?= "${CPPFLAGS}" |
| 45 | 45 | ||
| 46 | rustlib_suffix="${TUNE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/rustlib/${RUST_HOST_SYS}/lib" | 46 | rustlib_suffix = "${TUNE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/rustlib/${RUST_HOST_SYS}/lib" |
| 47 | # Native sysroot standard library path | 47 | # Native sysroot standard library path |
| 48 | rustlib_src="${prefix}/lib/${rustlib_suffix}" | 48 | rustlib_src = "${prefix}/lib/${rustlib_suffix}" |
| 49 | # Host sysroot standard library path | 49 | # Host sysroot standard library path |
| 50 | rustlib="${libdir}/${rustlib_suffix}" | 50 | rustlib = "${libdir}/${rustlib_suffix}" |
| 51 | rustlib:class-native="${libdir}/rustlib/${BUILD_SYS}/lib" | 51 | rustlib:class-native = "${libdir}/rustlib/${BUILD_SYS}/lib" |
diff --git a/meta/classes-recipe/setuptools3.bbclass b/meta/classes-recipe/setuptools3.bbclass index 64a78e9a36..f19899d42e 100644 --- a/meta/classes-recipe/setuptools3.bbclass +++ b/meta/classes-recipe/setuptools3.bbclass | |||
| @@ -49,4 +49,4 @@ setuptools3_do_install() { | |||
| 49 | 49 | ||
| 50 | EXPORT_FUNCTIONS do_configure do_compile do_install | 50 | EXPORT_FUNCTIONS do_configure do_compile do_install |
| 51 | 51 | ||
| 52 | export LDSHARED="${CCLD} -shared" | 52 | export LDSHARED = "${CCLD} -shared" |
diff --git a/meta/classes-recipe/setuptools3_legacy.bbclass b/meta/classes-recipe/setuptools3_legacy.bbclass index 264b1f5cfb..030c3d9e0e 100644 --- a/meta/classes-recipe/setuptools3_legacy.bbclass +++ b/meta/classes-recipe/setuptools3_legacy.bbclass | |||
| @@ -79,6 +79,6 @@ setuptools3_legacy_do_install[vardepsexclude] = "MACHINE" | |||
| 79 | 79 | ||
| 80 | EXPORT_FUNCTIONS do_configure do_compile do_install | 80 | EXPORT_FUNCTIONS do_configure do_compile do_install |
| 81 | 81 | ||
| 82 | export LDSHARED="${CCLD} -shared" | 82 | export LDSHARED = "${CCLD} -shared" |
| 83 | DEPENDS += "python3-setuptools-native" | 83 | DEPENDS += "python3-setuptools-native" |
| 84 | 84 | ||
