Hej
sorry - that does not work. Maybe you can show me some working/common
code.
Do I have to create the FILE_${PV} or/and FILE_${PV}-dev,
FILE_${PV}-static?
The builded files go into the Git dir & the autotools-brokensep is
generating the package dir. I repeat my question: What are the commands in
the bb file to build the packages (release, static, dev, whatever ...)?
Sorry - I do not understand at all the steps and theire parameters to
build a libary. Is there somewhere an example given?
Below my bb file and the console error print.
#### libhiredis ####
SUMMARY = "libhiredis"
SECTION = "sek4"
LICENSE = "COPYING"
LIC_FILES_CHKSUM = "file://$
{WORKDIR}/git/COPYING;md5=d84d659a35c666d23233e54503aaea51"
# 0.13.3
# SRCREV = "010756025e8cefd1bc66c6d4ed3b1648ef6f1f95"
SRC_URI = "git://github.com/redis/hiredis.git;rev=v0.13.3"
S = "${WORKDIR}/git/"
# we need to pass the Cxx parameter extra to the make call
EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS}
-I${S}/include' 'BUILDDIR=${S}' 'DESTDIR=${D}'"
inherit autotools-brokensep
do_compile() {
oe_runmake all 'CC=${CC}'
}
do_install() {
oe_runmake install 'DESTDIR=${D}'
}
FILES_${PN} += "/user/local"
########
### consol error ###
ERROR: QA Issue: libhiredis: Files/directories were installed but not
shipped in any package:
/usr/local
/usr/local/lib
/usr/local/include
/usr/local/lib/libhiredis.so
/usr/local/lib/libhiredis.so.0.13
/usr/local/lib/libhiredis.a
/usr/local/lib/.debug
/usr/local/lib/pkgconfig
/usr/local/lib/.debug/libhiredis.so.0.13
/usr/local/lib/pkgconfig/hiredis.pc
/usr/local/include/hiredis
/usr/local/include/hiredis/sds.h
/usr/local/include/hiredis/read.h
/usr/local/include/hiredis/async.h
/usr/local/include/hiredis/hiredis.h
/usr/local/include/hiredis/adapters
/usr/local/include/hiredis/adapters/glib.h
/usr/local/include/hiredis/adapters/macosx.h
/usr/local/include/hiredis/adapters/libev.h
/usr/local/include/hiredis/adapters/libevent.h
/usr/local/include/hiredis/adapters/qt.h
/usr/local/include/hiredis/adapters/libuv.h
/usr/local/include/hiredis/adapters/ae.h
/usr/local/include/hiredis/adapters/ivykis.h
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
libhiredis: 24 installed and not shipped files. [installed-vs-shipped]
NOTE: Tasks Summary: Attempted 388 tasks of which 375 didn't need to be
rerun and all succeeded.
########
Mit freundlichen Grüßen
Stefan Jaritz
Entwickler
------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jar...@esa-grimma.de
Internet: www.esa-grimma.de
Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker
Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten
haben, informieren Sie bitte sofort den Absender und löschen Sie diese
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail
ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is
strictly
forbidden.
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto