[meta-freescale] create custom package from local files

JC jc at vtkloud.com
Tue Sep 3 11:33:18 PDT 2013


Hi Daiane,

Thanks a lot. I appended my bb with yours (specially the PN part)

Unfortunately still the same error
  Error: helloworld not found in the base feeds (varsommx6q 
armv7a-vfp-neon armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e 
armv5-vfp armv5 armv4 arm noarch any all).

I still believe there's a problem with the helloworld rpm not being 
generated. Only -dev and -dbg. But I can't figure why.
On the same layer I have others recipes (but they use autotools,not the 
inline build & install from helloworld). All of them go well and install 
correctly...

Jay

On 03/09/2013 20:15, Daiane Angolini wrote:
> On 09/03/2013 03:13 PM, JC wrote:
>>  > I mean the tmp/work directory; check if your helloword was installed
>> and build fine.
>
> When I tried the helloworld sample, my recipe was this:
>
>
>
>
>
>
>
>
> DESCRIPTION = "simple Hello World program"
> PR = "r0"
> LICENSE = "GPLv2"
>
> S = "${WORKDIR}"
>
> LIC_FILES_CHKSUM = 
> "file://hello_world.c;md5=7fd4c53c45caecabff42b45a5204546b"
> SRC_URI = "file://hello_world.c"
>
> do_compile() {
>              ${CC} ${CFLAGS} ${LDFLAGS} -o hello_world hello_world.c
> }
>
> do_install() {
>              install -d ${D}${bindir}/
>              install -m 0755 ${S}/hello_world ${D}${bindir}/
> }
>
> FILES_${PN} = "${bindir}/hello_world"
>
>
>
>
> Does this help?
>
>
>
>
>
>
>
>>
>>
>> Well, I would answer yes according to this?But nothing looks like a
>> binary...
>>
>> tmp/work$ find . -name *helloworld*
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/helloworld.c
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/helloworld.spec
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/license-destdir/helloworld 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/helloworld 
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime-reverse/helloworld 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime-reverse/helloworld-dbg 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime-reverse/helloworld-locale 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime-reverse/helloworld-dev 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime-reverse/helloworld-doc 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime-reverse/helloworld-staticdev 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld-dbg.packaged 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld-dbg 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld-locale 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld-dev 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld-doc 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld-dev.packaged 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/pkgdata/runtime/helloworld-staticdev 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/packages-split/helloworld 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/packages-split/helloworld-dbg 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/packages-split/helloworld-locale 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/packages-split/helloworld-dev 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/packages-split/helloworld-doc 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/packages-split/helloworld-staticdev 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/deploy-rpms/armv7a_vfp_neon/helloworld-dbg-1.1-r0.armv7a_vfp_neon.rpm 
>>
>>
>> ./armv7a-vfp-neon-poky-linux-gnueabi/helloworld/1.1-r0/deploy-rpms/armv7a_vfp_neon/helloworld-dev-1.1-r0.armv7a_vfp_neon.rpm 
>>
>>
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>
>




More information about the meta-freescale mailing list