@@ -758,7 +758,7 @@ FAKEROOTENV = "PSEUDO_PREFIX=${PSEUDO_SYSROOT}${prefix_native} PSEUDO_LOCALSTATE
FAKEROOTNOENV = "PSEUDO_UNLOAD=1"
FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
FAKEROOTLOGS = "${WORKDIR}/pseudo/pseudo.log"
-PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
+PREFERRED_PROVIDER_virtual/fakeroot-native ??= "pseudo-native"
##################################################################
# Not sure about the rest of this yet.
@@ -1,23 +1,23 @@
#
# Default virtual providers
#
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/egl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgl-native ?= "mesa-native"
-PREFERRED_PROVIDER_virtual/nativesdk-libgl ?= "nativesdk-mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
-PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
-PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-utils"
-PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-utils-native"
-PREFERRED_PROVIDER_virtual/libx11 ?= "libx11"
-PREFERRED_PROVIDER_virtual/base-utils ?= "busybox"
-PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel"
-PREFERRED_PROVIDER_virtual/make ?= "make"
-PREFERRED_PROVIDER_virtual/make-native ?= "make-native"
+PREFERRED_PROVIDER_virtual/xserver ??= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/xserver-xf86 ??= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/egl ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgl ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgl-native ??= "mesa-native"
+PREFERRED_PROVIDER_virtual/nativesdk-libgl ??= "nativesdk-mesa"
+PREFERRED_PROVIDER_virtual/libgles1 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles2 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles3 ??= "mesa"
+PREFERRED_PROVIDER_virtual/mesa ??= "mesa"
+PREFERRED_PROVIDER_virtual/update-alternatives ??= "opkg-utils"
+PREFERRED_PROVIDER_virtual/update-alternatives-native ??= "opkg-utils-native"
+PREFERRED_PROVIDER_virtual/libx11 ??= "libx11"
+PREFERRED_PROVIDER_virtual/base-utils ??= "busybox"
+PREFERRED_PROVIDER_xf86-video-intel ??= "xf86-video-intel"
+PREFERRED_PROVIDER_virtual/make ??= "make"
+PREFERRED_PROVIDER_virtual/make-native ??= "make-native"
#
# Default virtual runtime providers
@@ -33,29 +33,29 @@ VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog"
#
# Default recipe providers
#
-PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
-PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
-PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
-PREFERRED_PROVIDER_libgcc ?= "libgcc"
-PREFERRED_PROVIDER_nativesdk-libgcc ?= "nativesdk-libgcc"
-PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
-PREFERRED_PROVIDER_nativesdk-linux-libc-headers ?= "nativesdk-linux-libc-headers"
-PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2"
-PREFERRED_PROVIDER_opkg ?= "opkg"
-PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
-PREFERRED_PROVIDER_nativesdk-opkg ?= "nativesdk-opkg"
-PREFERRED_PROVIDER_console-tools ?= "kbd"
-PREFERRED_PROVIDER_gzip-native ?= "pigz-native"
-PREFERRED_PROVIDER_udev ?= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','eudev',d)}"
+PREFERRED_PROVIDER_dbus-glib ??= "dbus-glib"
+PREFERRED_PROVIDER_dbus-glib-native ??= "dbus-glib-native"
+PREFERRED_PROVIDER_gdk-pixbuf ??= "gdk-pixbuf"
+PREFERRED_PROVIDER_libgcc ??= "libgcc"
+PREFERRED_PROVIDER_nativesdk-libgcc ??= "nativesdk-libgcc"
+PREFERRED_PROVIDER_linux-libc-headers ??= "linux-libc-headers"
+PREFERRED_PROVIDER_nativesdk-linux-libc-headers ??= "nativesdk-linux-libc-headers"
+PREFERRED_PROVIDER_matchbox-panel ??= "matchbox-panel-2"
+PREFERRED_PROVIDER_opkg ??= "opkg"
+PREFERRED_PROVIDER_opkg-native ??= "opkg-native"
+PREFERRED_PROVIDER_nativesdk-opkg ??= "nativesdk-opkg"
+PREFERRED_PROVIDER_console-tools ??= "kbd"
+PREFERRED_PROVIDER_gzip-native ??= "pigz-native"
+PREFERRED_PROVIDER_udev ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','eudev',d)}"
# Alternative is ltp-ddt in meta-oe: meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
-PREFERRED_PROVIDER_ltp ?= "ltp"
-PREFERRED_PROVIDER_getopt ?= "util-linux-getopt"
-PREFERRED_PROVIDER_openssl ?= "openssl"
-PREFERRED_PROVIDER_openssl-native ?= "openssl-native"
-PREFERRED_PROVIDER_nativesdk-openssl ?= "nativesdk-openssl"
-PREFERRED_PROVIDER_pkgconfig ?= "pkgconfig"
-PREFERRED_PROVIDER_nativesdk-pkgconfig ?= "nativesdk-pkgconfig"
-PREFERRED_PROVIDER_pkgconfig-native ?= "pkgconfig-native"
-PREFERRED_RPROVIDER_initd-functions ?= "initscripts"
+PREFERRED_PROVIDER_ltp ??= "ltp"
+PREFERRED_PROVIDER_getopt ??= "util-linux-getopt"
+PREFERRED_PROVIDER_openssl ??= "openssl"
+PREFERRED_PROVIDER_openssl-native ??= "openssl-native"
+PREFERRED_PROVIDER_nativesdk-openssl ??= "nativesdk-openssl"
+PREFERRED_PROVIDER_pkgconfig ??= "pkgconfig"
+PREFERRED_PROVIDER_nativesdk-pkgconfig ??= "nativesdk-pkgconfig"
+PREFERRED_PROVIDER_pkgconfig-native ??= "pkgconfig-native"
+PREFERRED_RPROVIDER_initd-functions ??= "initscripts"
-PREFERRED_PROVIDER_nativesdk-mesa ?= "nativesdk-mesa"
+PREFERRED_PROVIDER_nativesdk-mesa ??= "nativesdk-mesa"
@@ -8,11 +8,11 @@ LIBCOVERRIDE = ":libc-baremetal"
ASSUME_PROVIDED += "virtual/libc virtual/libiconv virtual/crypt"
-PREFERRED_PROVIDER_virtual/libc ?= "musl"
-PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
-PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
-PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
-PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/libc ??= "musl"
+PREFERRED_PROVIDER_virtual/libiconv ??= "musl"
+PREFERRED_PROVIDER_virtual/libintl ??= "gettext"
+PREFERRED_PROVIDER_virtual/nativesdk-libintl ??= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libiconv ??= "nativesdk-glibc"
USE_NLS ?= "no"
IMAGE_LINGUAS = ""
@@ -6,14 +6,14 @@ LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION') or '') != '']}"
LIBCOVERRIDE = ":libc-glibc"
-PREFERRED_PROVIDER_virtual/libiconv ?= "glibc"
-PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
-PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
-PREFERRED_PROVIDER_virtual/libintl ?= "glibc"
-PREFERRED_PROVIDER_virtual/libc ?= "glibc"
-PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-glibc"
-PREFERRED_PROVIDER_virtual/libc-locale ?= "glibc-locale"
-PREFERRED_PROVIDER_virtual/crypt ?= "libxcrypt"
+PREFERRED_PROVIDER_virtual/libiconv ??= "glibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libiconv ??= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libintl ??= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/libintl ??= "glibc"
+PREFERRED_PROVIDER_virtual/libc ??= "glibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libc ??= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/libc-locale ??= "glibc-locale"
+PREFERRED_PROVIDER_virtual/crypt ??= "libxcrypt"
CXXFLAGS += "-fvisibility-inlines-hidden"
@@ -6,13 +6,13 @@ LIBCEXTENSION = "-musl"
LIBCOVERRIDE = ":libc-musl"
-PREFERRED_PROVIDER_virtual/libc ?= "musl"
-PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
-PREFERRED_PROVIDER_virtual/libintl ?= "musl"
-PREFERRED_PROVIDER_virtual/crypt ?= "musl"
-PREFERRED_PROVIDER_virtual/libc-locale ?= "musl-locales"
-PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
-PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/libc ??= "musl"
+PREFERRED_PROVIDER_virtual/libiconv ??= "musl"
+PREFERRED_PROVIDER_virtual/libintl ??= "musl"
+PREFERRED_PROVIDER_virtual/crypt ??= "musl"
+PREFERRED_PROVIDER_virtual/libc-locale ??= "musl-locales"
+PREFERRED_PROVIDER_virtual/nativesdk-libintl ??= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libiconv ??= "nativesdk-glibc"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
@@ -5,11 +5,11 @@
LIBCEXTENSION = "-newlib"
LIBCOVERRIDE = ":libc-newlib"
-PREFERRED_PROVIDER_virtual/libc ?= "newlib"
-PREFERRED_PROVIDER_virtual/libiconv ?= "newlib"
-PREFERRED_PROVIDER_virtual/libintl ?= "newlib"
-PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
-PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/libc ??= "newlib"
+PREFERRED_PROVIDER_virtual/libiconv ??= "newlib"
+PREFERRED_PROVIDER_virtual/libintl ??= "newlib"
+PREFERRED_PROVIDER_virtual/nativesdk-libintl ??= "nativesdk-glibc"
+PREFERRED_PROVIDER_virtual/nativesdk-libiconv ??= "nativesdk-glibc"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
@@ -2,16 +2,16 @@
# Default toolchain configuration
#
-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross-${TARGET_ARCH}"
-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross-${TARGET_ARCH}"
-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross-${TARGET_ARCH}"
-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime"
-PREFERRED_PROVIDER_gdb = "gdb"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils ??= "binutils-cross-${TARGET_ARCH}"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc ??= "gcc-cross-${TARGET_ARCH}"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ ??= "gcc-cross-${TARGET_ARCH}"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs ??= "gcc-runtime"
+PREFERRED_PROVIDER_gdb ??= "gdb"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk ?= "binutils-crosssdk-${SDK_SYS}"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime"
+PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk ??= "binutils-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc ??= "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ ??= "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs ??= "nativesdk-gcc-runtime"
# Default libc config
PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
@@ -68,7 +68,7 @@ PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
# Bootstrap Go using a binary release from golang.org. If you want to bootstrap
# from source using the C-implemented Go 1.4 (only supports x86-64 hosts) then use
# go-native.
-PREFERRED_PROVIDER_go-native ?= "go-binary-native"
+PREFERRED_PROVIDER_go-native ??= "go-binary-native"
PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}"
PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"
@@ -1,9 +1,9 @@
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/egl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
+PREFERRED_PROVIDER_virtual/xserver ??= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/egl ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgl ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles1 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles2 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles3 ??= "mesa"
XSERVER ?= "xserver-xorg \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
@@ -1,4 +1,4 @@
-PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
+PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot"
require conf/machine/include/qemu.inc
require conf/machine/include/riscv/tune-riscv.inc
@@ -2,11 +2,11 @@
#@NAME: QEMU x86-64 machine
#@DESCRIPTION: Machine configuration for running an x86-64 system on QEMU
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
+PREFERRED_PROVIDER_virtual/xserver ??= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/libgl ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles1 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles2 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles3 ??= "mesa"
require conf/machine/include/qemu.inc
DEFAULTTUNE ?= "core2-64"
@@ -2,11 +2,11 @@
#@NAME: QEMU x86 machine
#@DESCRIPTION: Machine configuration for running an x86 system on QEMU
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
+PREFERRED_PROVIDER_virtual/xserver ??= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/libgl ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles1 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles2 ??= "mesa"
+PREFERRED_PROVIDER_virtual/libgles3 ??= "mesa"
require conf/machine/include/qemu.inc
DEFAULTTUNE ?= "core2-32"