View Single Post
Old 10-18-2012, 08:54 PM   #20
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by twobob View Post
in essence its a small 3 part process

Which I have outlined before but: since a picture and a few files can speak a thousand words.

create folder under packages (pictured - with relevant name)

create two files (provided examples) - edit them to use the "relevant name" - Just make one up.

You also need to go find the DL URL and copy the style I have provided.

The layout of the Config.in is VERY PICKY, keep the spacing exactly I have shown it. (four spaces indent is it? something like that)

When you are happy with your two new files:

add an entry - in the "relevant section" in the main packages Config.in (example provided with custom entries, search is your friend) (The placement in the file determines which menu it appears in)

re-run make xconfig. wow! they are there! let's build them!!!
ah shoot it broke! check the error output. it probably requires a lib BR doesn't have or you forgot to add support for in the make. Just add the relevant

requires - or selects - in the PACKAGE Config.in and maybe check the ./configure --help in the PACKAGES BUILD DIRECTORY!

Another trick:

say we have BR in ~/GIT/BRK3

always add it -C to your commands like:

make -C ~/GIT/BRK3 xconfig
(Then you can run the commands from ANYWHERE, not just the root.) helpful!

Err... I think that covers it.
EDIT: Ah yes. also try BR inline autocompletion for packages with the -C blah in place.
BR can delete the ".SomethingLikeBuiltOrWhatever" flag files to help with letting BR know you want to rebuild something. Once it is "built" you have to tell it to rebuild like

make -C ~/GIT/BRK3 someapp-clean-for-rebuild (or whatever)

or you can go delete the flags yourself (I just do that TBH)
it's pretty obvious what they do - want to DL it again? delete .Donwloaded - etc...

RE MAKEFILE's:
The BR Readme covers the 3 main types of make files (It accepts).

Just get used to spotting the GNU Autotools ones and try adding them first - they work 95% of the time on the Kindle 5, - your milage will be less as the older TC may let you down from time to time.

Well, I'll attach the pics. I also pictured WinSCP ready to transfer built files.

HTH
Thanks so much! ngircd appears to already be in buildroot
qlob is offline   Reply With Quote