mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
recipes-support: 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. NOTE: There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"), otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't need this line, since it is already in the default BUILD_LDFLAGS. Remove it and we don't need to bump the PR since we just removed a unused line. [YOCTO #3297] (From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51) 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
60c3bd4394
commit
5ddf8570a1
@@ -2,13 +2,13 @@ DESCRIPTION = "An Embeddable SQL Database Engine"
|
||||
HOMEPAGE = "http://www.sqlite.org"
|
||||
SECTION = "libs"
|
||||
DEPENDS = "readline ncurses"
|
||||
DEPENDS_virtclass-native = ""
|
||||
DEPENDS_class-native = ""
|
||||
LICENSE = "PD"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--disable-tcl --enable-shared --enable-threadsafe"
|
||||
EXTRA_OECONF_virtclass-native = "--disable-tcl --enable-shared --enable-threadsafe --disable-readline --enable-tempstore"
|
||||
EXTRA_OECONF_class-native = "--disable-tcl --enable-shared --enable-threadsafe --disable-readline --enable-tempstore"
|
||||
export config_BUILD_CC = "${BUILD_CC}"
|
||||
export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"
|
||||
export config_BUILD_LIBS = "${BUILD_LDFLAGS}"
|
||||
|
||||
Reference in New Issue
Block a user