Recipe appended does not create .so

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Recipe appended does not create .so

734 Views
banuprakash
Contributor II

Adding shared library in recipes .so is not link in rootfs-usr/lib/

DESCRIPTION = "simple program"
PR = "r0"
LICENSE = "GPLv2"    
S = "${WORKDIR}"

LIC_FILES_CHKSUM += "file://libMSO.so.1.2;md5=49b4ca37bfccc1a103e0ea32073358e6 \
            file://libMSOComm.so.1.2;md5=69705cfc6199ebd9ff65571a733d650c"

SRC_URI += "file://libMSO.so.1.2 \
        file://libMSOComm.so.1.2"

do_install() {
             install -d ${D}${libdir}/
         install -m 0777 ${S}/libMSO.so.1.2 ${D}${libdir}/libMSO.so.1.2
         ln -sf libMSO.so.1.2 ${D}${libdir}/libMSO.so
         install -m 0777 ${S}/libMSOComm.so.1.2 ${D}${libdir}/libMSOComm.so.1.2
         ln -sf libMSOComm.so.1.2 ${D}${libdir}/libMSOComm.so.1
         ln -sf libMSOComm.so.1.2 ${D}${libdir}/libMSOComm.so
}
    

Directory of rootfs/usr/bin - there is no libMSOComm.so  link.

lrwxrwxrwx 1 banuprakash       17 Apr  4 15:12 libMSOComm.so.1 -> libMSOComm.so.1.2
-rwxr-xr-x 1 banuprakash    21096 Apr  4 15:10 libMSOComm.so.1.2

0 Kudos
Reply
3 Replies

632 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

632 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Banu Prakash,

There is very useful information on the thread mentioned by Bio_TICFSL, but also make sure that the priority of the layer where your append file resides is higher than any other append files that may affect this recipe, and that it is placed on the same relative path in your layer as in the recipe's original path within its layer.


Regards,

0 Kudos
Reply

632 Views
banuprakash
Contributor II

even i change the priority in layer.confg still i'm getting same issue it is not creating .so

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a packages directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
            ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "plum"
BBFILE_PATTERN_plum := "^${LAYERDIR}/"
BBFILE_PRIORITY_plum = "6"

Directory of rootfs/usr/bin - there is no libMSOComm.so  link.

 libMSOComm.so.1 -> libMSOComm.so.1.2
 libMSOComm.so.1.2

0 Kudos
Reply