mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d005b787df
commit
aea2d8c02c
@@ -9,8 +9,8 @@ QEMU_TARGETS ?= "arm i386 mips mipsel mips64 mips64el ppc sh4 x86_64"
|
||||
require qemu-targets.inc
|
||||
|
||||
SDL ?= "--disable-sdl"
|
||||
SDL_virtclass-native ?= ""
|
||||
SDL_virtclass-nativesdk ?= ""
|
||||
SDL_class-native ?= ""
|
||||
SDL_class-nativesdk ?= ""
|
||||
|
||||
EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370 ${SDL} --disable-curl --disable-vnc-jpeg --disable-bluez"
|
||||
|
||||
@@ -40,10 +40,10 @@ do_install () {
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
|
||||
DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native"
|
||||
DEPENDS_virtclass-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0"
|
||||
RDEPENDS_virtclass-nativesdk = "nativesdk-libsdl"
|
||||
EXTRA_OECONF_virtclass-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls \
|
||||
DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native"
|
||||
DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0"
|
||||
RDEPENDS_class-nativesdk = "nativesdk-libsdl"
|
||||
EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls \
|
||||
--disable-curl \
|
||||
"
|
||||
|
||||
|
||||
@@ -20,11 +20,11 @@ SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e
|
||||
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI_append_virtclass-nativesdk = "\
|
||||
SRC_URI_append_class-nativesdk = "\
|
||||
file://relocatable_sdk.patch \
|
||||
"
|
||||
|
||||
do_configure_prepend_virtclass-nativesdk() {
|
||||
do_configure_prepend_class-nativesdk() {
|
||||
if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then
|
||||
# Undo the -lX11 added by linker-flags.patch
|
||||
sed -i 's/-lX11//g' Makefile.target
|
||||
@@ -45,7 +45,7 @@ do_install_append() {
|
||||
}
|
||||
# END of qemu-mips workaround
|
||||
|
||||
do_configure_prepend_virtclass-native() {
|
||||
do_configure_prepend_class-native() {
|
||||
# Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed
|
||||
sed -i 's/-lX11//g' Makefile.target
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user