fs/common: add <fs>_POST_GEN_HOOKS support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 31 Jul 2015 08:23:20 +0000 (10:23 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 Aug 2015 18:56:05 +0000 (20:56 +0200)
commit15a53b93a034af78c1a3d62510a2abe5a91e4f8f
tree67dd5c9a7a840bf6cffd35babc35634ba1febb64
parentb1c6801f1c5dfdf8610d16d8a4cd68d062b44e16
fs/common: add <fs>_POST_GEN_HOOKS support

The common filesystem infrastructure already supports a
<fs>_PRE_GEN_HOOKS variable, which allows filesystem makefiles to
register some actions to be done before the root filesystem image is
generated.

This commit adds a similiar <fs>_POST_GEN_HOOKS variable, which will
allow filesystem makefiles to do some actions after the filesystem
image has been generated. It will initially be used by the iso9660
filesystem to delete the temporary directory it creates.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: NoƩ Rubinstein <nrubinstein@aldebaran.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
fs/common.mk