From: JC <jc@vtkloud.com>
To: Daiane Angolini <daiane.angolini@freescale.com>
Cc: "meta-freescale@yoctoproject.org"
<meta-freescale@yoctoproject.org>,
Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: create custom package from local files
Date: Tue, 03 Sep 2013 20:33:18 +0200 [thread overview]
Message-ID: <52262B6E.70008@vtkloud.com> (raw)
In-Reply-To: <5226272A.7000603@freescale.com>
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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>
>
next prev parent reply other threads:[~2013-09-03 18:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 14:51 create custom package from local files JC
[not found] ` <CALMQ0YSTcxS-bjMRUzEP_RoTFsuwB1rYRAeL=FKrfV0M4L_ZZA@mail.gmail.com>
2013-09-03 16:44 ` JC
2013-09-03 17:32 ` Otavio Salvador
2013-09-03 17:58 ` JC
2013-09-03 18:00 ` Otavio Salvador
2013-09-03 18:13 ` JC
2013-09-03 18:15 ` Daiane Angolini
2013-09-03 18:33 ` JC [this message]
2013-09-03 18:43 ` Otavio Salvador
2013-09-03 19:20 ` (SOLVED) " JC
2013-09-03 19:15 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52262B6E.70008@vtkloud.com \
--to=jc@vtkloud.com \
--cc=daiane.angolini@freescale.com \
--cc=meta-freescale@yoctoproject.org \
--cc=otavio@ossystems.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.