package/dropbear: add option to provide file with localoptions.h
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 29 May 2019 10:27:06 +0000 (13:27 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 1 Jun 2019 09:44:49 +0000 (11:44 +0200)
commit26708469adc3f5e4194f176fa51f1ce280b0b357
treea65b7c0d8d10f387c118bdf8bca645011e55bddd
parentad8ed6bc4b18a69adbf104e236564efeea66bba9
package/dropbear: add option to provide file with localoptions.h

As discussed in https://patchwork.ozlabs.org/patch/1104071/, this
commit adds a new option that allows the user to provide a file that
contains custom definitions to tweak the Dropbear configuration. It
will be appended to Dropbear's localoptions.h file before the build.

The patch was tested successfully with the DO_MOTD option.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
[Thomas: tweak commit log, rename config option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dropbear/Config.in
package/dropbear/dropbear.mk