[Buildroot] Howto handle fork of an existing package

Atilla Filiz atilla.filiz at gmail.com
Fri Aug 4 12:21:26 UTC 2017


Hello

I have made a package of Wiring Pi for Lemaker boards Banana Pi and 
Banana Pro. Since this is a fork from an older version, the site, teh 
versioning, the patches etc are all different. I would like to ask, 
whoat would be the best way to merge this package properly. Either

1. Make it a completely new package, like wiringpi-lemaker and make it 
depend on !BR2_PACKAGE_WIRINGPI and vice versa. Easiest way.

2. Turn wiringpi into a subtree, with a radio button for board 
selection: Raspberry Pi, Banana Pi, Banana Pro and enable teh proper 
package. Raspberry Pi being the default option. Slightly intrusive way.

3. Have one wiringpi to rule them all. Make the board selection as a 
mere set of parameters. Make a bit more complicated wirinpi.mk that 
selects correct site, version, patch directory etc depending on a bunch 
of defined flags. Possibly unnecessarily complicated.

Currently I made and tested it as a separate package.

Atilla



More information about the buildroot mailing list