[yocto] Error while adding a new recipe

Khem Raj raj.khem at gmail.com
Thu Jul 12 07:33:17 PDT 2012


On Thu, Jul 12, 2012 at 1:03 AM, Navani Srivastava
<navani.srivastava at gmail.com> wrote:
> Sorry, but it didn't worked for me..
> .bb file is something like-
>
> "PACKAGES = "colorado"
>
> SRC_URI = " file://colorado_gui_bk"
>
> do_install () {
> #
> # Create directories and install device independent scripts
> #
>          install -d ${D}/{homedir}/Test
>          install -d ${D}${homedir}/Test/Bin
> #       install -m 0755         ${WORKDIR}/colorado_gui_bk
> ${D}${homedir}/Test/Bin
>         cp ${WORKDIR}/colorado_gui_bk              ${D}${homedir}/Test/Bin
> }
> #FILES_${PN}-dbg += "\
> #  ${homedir}/Test/Bin/.debug/colorado_gui_bk \
> #"
>
> INHIBIT_PACKAGE_STRIP = "1"

add

INSANE_SKIP_${PN} = "arch"
as well

> "
> Please review if anything else need to be added..
>
>
>
> On Thu, Jul 12, 2012 at 1:08 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>
>> On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava
>> <navani.srivastava at gmail.com> wrote:
>> > Thanks for your reply..
>> > It is a pre-built-binary which I am trying to put in a specific path of
>> > rootfs.
>> > I didn't get what does it mean by "packaging it seperately"..
>>
>> is this the only file in this package ? you might add
>> INHIBIT_PACKAGE_STRIP = "1" to the recipe then
>> but be aware this will disable stripping the binaries and if you have
>> other legit binaries that this
>> recipe is generating then they wont be stripped as well.
>>
>> >
>> > On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> >>
>> >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
>> >> <navani.srivastava at gmail.com> wrote:
>> >> > ERROR: QA Issue: Architecture did not match (40 to 3) on
>> >> >
>> >> >
>> >> > /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
>> >>
>> >> what is this file ?
>> >> is it some precompiled binary or some firmware blob ?
>> >> you need to package is separately and then may be skip stripping just
>> >> that one package
>> >
>> >
>
>



More information about the yocto mailing list