[yocto] packageconfig for non-autotooled project
신택현 (Taek Hyun Shin)
thshin at telechips.com
Mon Sep 21 19:04:15 PDT 2015
Create a sunxi-mali_git.bbappend file, to see the pc file of the MESA Project can be used to manually create a .pc file.
sunxi-mali_git.bbappend file
=====================================
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
SRC_URI += "file://egl.pc"
do_install_append() {
install -d ${D}${libdir}/pkgconfig
cp ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig
}
=====================================
this is my egl.pc file
====================================
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
Name: egl
Description: Telechips EGL library
Requires.private:
Version: 10.1.3
Libs: -L${libdir} -lEGL -lGLESv2 -lMali -lUMP
Libs.private:
Cflags: -I${includedir}/EGL/ -I${includedir}
====================================
Best regards,
Wily Taekhyun Shin
=============================================================================
Wily Taekhyun Shin
Research Engineer
R&D Center
Telechips Inc.
Tel : + 82-2-3443-6792(Ext.390)
Fax : + 82-2-6424-7793
Mobile : + 82-10-4376-5530
E-mail : thshin at telechips.com <blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::mailto:ksjeon at telechips.com>
=============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150922/fccf00cf/attachment.html>
More information about the yocto
mailing list