Pjsip Recipe for Yocto

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

I’m trying to build and install Pjsip library on ARM target with Yocto.

I have wrote the following recipe but it’s not working properly. Yocto Image has been compiled successfully but in the destination Target there aren’t pjsip libraries (probably there is some misconfiguration on do_install task):

 

===================================================================================================

 

DESCRIPTION = “”

SECTION = ””

HOMEPAGE = HTTP://www.pjsip.org/

LICENSE = ””

 

DEPENDS = “alsa-lib libv4l openssll util-linux”

 

PARALLEL_MAKE = “”

 

SRC_URI = “ file://...”

 

S = “${WORKDIR}/pjproject-2.5.5”

 

Inherit autotools-brokensep pkgconfig pythonnative

 

do_configure_prepend() {

                export LD= ”${CC}”

                echo “export CFLAGS += -Fpic” > user.mak

                echo “export LDFLAGS += -fuse-ld=bfd” > user.mak

}

 

do_compile_prepend() {

                make dep

}

 

do_compile_append() {

                make

}

 

do_install_prepend() {}

do_install_append() {

                # remove the absolute path to the host’s include dir

                sed -i ‘s:\-I/usr/include::’ ${D}/usr/lib/pkgconfig/libpjproject.pc

                # remove the fdebug-prefix-map options

                Sed -I ‘s:\-fdebug-prefix-map[a-Za-Z0-9\._\/=\-]*::g’ ${D}/usr/lib/pkgconfig/libpjproject.pc

}

 

ALLOW_EMPTY_${PN} = “1”

 

===================================================================================================

 

How can I write a recipe for a Pjsip libraries? Thanks in advice

 

Best Regards

Ll

 

 

 

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux