diff options
author | Sven Eckelmann <sven@narfation.org> | 2019-02-11 16:26:42 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-02-20 18:41:37 +0100 |
commit | 405840631c87d7d5c3381e82d61504b318c8a555 (patch) | |
tree | 9488e08ac746080c4633fd9f75546d003ed2ccf4 /package/firmware | |
parent | bc3eb970abc4d666735866c72951813d49d2a07f (diff) | |
download | upstream-405840631c87d7d5c3381e82d61504b318c8a555.tar.gz upstream-405840631c87d7d5c3381e82d61504b318c8a555.tar.bz2 upstream-405840631c87d7d5c3381e82d61504b318c8a555.zip |
build: Accept BIN_DIR parameter for legacy-images
BIN_DIR can be set to overwrite the output path for new images. This is an
advertised feature for the imagebuilder and is used by systems like
LibreMesh's chef.
The legacy images are build using a new sub-make which doesn't receive the
variable overwrites of the parent make process. As result, the BIN_DIR is
automatically defined to the default value from rules.mk. The images will
therefore not be placed in the output path which was selected by the user.
Providing BIN_DIR as an explicit variable override to the sub-make works
around this problem.
Fixes: 26c771452cd8 ("image.mk: add LegacyDevice wrapper to allow legacy image building code to be used for device profiles")
Reported-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry picked from commit 9a5a10eb6924efa519e1d9e27b61dc254876f9ec)
Diffstat (limited to 'package/firmware')
0 files changed, 0 insertions, 0 deletions