mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
35 lines
1.2 KiB
PHP
35 lines
1.2 KiB
PHP
DESCRIPTION = "An Embeddable SQL Database Engine"
|
|
HOMEPAGE = "http://www.sqlite.org"
|
|
SECTION = "libs"
|
|
DEPENDS = "readline ncurses"
|
|
DEPENDS_class-native = ""
|
|
LICENSE = "PD"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
EXTRA_OECONF = "--disable-tcl --enable-shared --enable-threadsafe"
|
|
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}"
|
|
export config_TARGET_CC = "${CC}"
|
|
export config_TARGET_LINK = "${CCLD}"
|
|
export config_TARGET_CFLAGS = "${CFLAGS}"
|
|
export config_TARGET_LFLAGS = "${LDFLAGS}"
|
|
|
|
# pread() is in POSIX.1-2001 so any reasonable system must surely support it
|
|
BUILD_CFLAGS += "-DUSE_PREAD"
|
|
TARGET_CFLAGS += "-DUSE_PREAD"
|
|
|
|
PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
|
|
|
|
FILES_${PN} = "${bindir}/*"
|
|
FILES_lib${BPN} = "${libdir}/*.so.*"
|
|
FILES_lib${BPN}-dev = "${libdir}/*.la ${libdir}/*.so \
|
|
${libdir}/pkgconfig ${includedir}"
|
|
FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}"
|
|
FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
|
|
AUTO_LIBNAME_PKGS = "lib${BPN}"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|