From: JC <jc@vtkloud.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: (SOLVED) Re: create custom package from local files
Date: Tue, 03 Sep 2013 21:20:24 +0200 [thread overview]
Message-ID: <52263678.4060101@vtkloud.com> (raw)
In-Reply-To: <CAP9ODKoQ=ViLyeprm6dpYdciR5L6PwPw_ZQxQhOTG8qmYsBGZA@mail.gmail.com>
On 03/09/2013 20:43, Otavio Salvador wrote:
> Hello,
>
> Please don't top post as it makes harder to follow the discussion
> (http://en.wikipedia.org/wiki/Posting_style#Top-posting).
Sorry... I usually don't :(
> Please check the log.do_compile and log.do_install files so we can
> understand what is going on.
Gooosh... Since you asked me, I realized that in temp there were no
do_compile & do_install logs.. But it helped me to find _one_ mistake.
In my bb file there is :
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
}
do_install() {
install -d ${D}${bindir}
install -m 0755 helloworld ${D}${bindir}
}
notice the " }" instead of "}" ? That's the issue!
I removed the space, ran a new "bitbake helloworld" and now I get a
build & install. In my tmp work I now have the binary helloworld :)
In the deploy-rpms directory I now have:
helloworld-1.1-r0.armv7a_vfp_neon.rpm
helloworld-dbg-1.1-r0.armv7a_vfp_neon.rpm
helloworld-dev-1.1-r0.armv7a_vfp_neon.rpm
After that I ran a bitbake core-image-minimal and it's been
successful... Shouldn't I have checked the logs were non existent, I
would never have found that **** space !
Thanks, again, all of you, for your help and patience
Regards
Jay
next prev parent reply other threads:[~2013-09-03 19:20 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
2013-09-03 18:43 ` Otavio Salvador
2013-09-03 19:20 ` JC [this message]
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=52263678.4060101@vtkloud.com \
--to=jc@vtkloud.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.