Jump to content


Photo

How to add an own application


  • Please log in to reply
9 replies to this topic

#1 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 8 November 2013 - 10:20

Hi,

I want to add some own utilities to build my own image.

E.G. at first I want to add midnight commander as well as some dvb tools (dvbsnoop, szap, ...). So really low level stuff. I already succeeded recompiling/building the original nfi image.

Thanks for any hints, where I can find above sources (that`s easy), Makefiles (should be in src?), recipes for packaging,  etc.

regards,

p.

 



Re: How to add an own application #2 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,599 posts

+62
Good

Posted 8 November 2013 - 13:32

when you just build to tool you want you can just copy the created ipk to your box.

 

Otherwise read the openembedded documentation. There is lots of info on how to add applications to a image build.

Google is your friend here.


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: How to add an own application #3 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 8 November 2013 - 14:00

ok thanks.

I just had a look to the sources and recipes included in openPli.

So my wanted applications have recipes and sources loaded, but recipes do not have compilation included. Is this the step to continue to add the compilatrion /linking steps into the recipes?



Re: How to add an own application #4 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 8 November 2013 - 14:07

Add them to the IMAGE_INSTALL variable of your image recipe.

Re: How to add an own application #5 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 11 November 2013 - 10:03

ok, found that variable.

How can I include $ENIGMA2_OPTIONAL files (e.g "mc" is listed in that variable in the openpli-image recipe, but what is the switch to activate optional builts (put sth. to local.conf??), ie. when are these builts included)? Vuplus original image has these optional packages  included, OpenPLI not.

Sorry for my beginner's boring questions...



Re: How to add an own application #6 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 11 November 2013 - 10:31

take a look into the meta-local dir, you may find things there interesting I suppose...


True sarcasm doesn't need green font...

Re: How to add an own application #7 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 18 November 2013 - 11:36

I do not have a meta-local dir in my local environment  . Was it removed in the past from Makefile 2.1 and/or recipes?



Re: How to add an own application #8 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 18 November 2013 - 13:56

hmm, actually it was never there (in an obsolete 2.1)...
I (wrongly) assumed you're trying to build something more recent (3.0/4)
True sarcasm doesn't need green font...

Re: How to add an own application #9 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 18 November 2013 - 14:11

Could it be that I'm riding a dead horse because I started from here?

 

 

Where can I find Makefile for openpli 3.0 or 4.0?

thnks


Edited by popeye2, 18 November 2013 - 14:14.


Re: How to add an own application #10 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 18 November 2013 - 15:49

just clone the repo, e.g. for openpli4:
git clone -b upstream git://git.code.sf.net/p/openpli/openpli-oe-core
Makefile is already there...
True sarcasm doesn't need green font...


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users