Recipe appended does not create .so

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Recipe appended does not create .so

742件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

640件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

640件の閲覧回数
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 件の賞賛
返信

640件の閲覧回数
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 件の賞賛
返信