[meta-freescale] (SOLVED) Re: create custom package from local files

JC jc at vtkloud.com
Tue Sep 3 12:20:24 PDT 2013


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




More information about the meta-freescale mailing list