fs/ubi: expose BINARIES_DIR to ubinize.cfg
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 6 Jun 2020 10:50:15 +0000 (12:50 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 6 Jun 2020 11:43:43 +0000 (13:43 +0200)
commit145ee99bc95f99bd6b8aa0ed4a0220173ca7ec25
treeb26eaa50b3b4346b5e3c74ba12ded45fbf15891e
parent0eef19ec87e6805fec5d02972ad72aa47c453690
fs/ubi: expose BINARIES_DIR to ubinize.cfg

It is often necessary to refer to other images that are present in
BINARIES_DIR from a custom ubinize configuration e.g. to include the
kernel in a UBI volume.

As we do for BR2_ROOTFS_UBIFS_PATH, replace BINARIES_DIR when copying
the file.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
[yann.morin.1998@free.fr:
  - add the blurb in the help text
  - rewrap commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
fs/ubi/Config.in
fs/ubi/ubi.mk