package/pkg-generic.mk: in image install, print message before pre-hooks
In all steps, we print the message indicating the start of the step using the MESSAGE macro before running pre-hooks. Except in the image installation step, where the message is printed after the pre-hooks. Let's fix this inconsistency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
891c5b7b4b
commit
15e96f9417
@ -347,8 +347,8 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
$(BUILD_DIR)/%/.stamp_images_installed:
|
||||
@$(call step_start,install-image)
|
||||
@mkdir -p $(BINARIES_DIR)
|
||||
$(foreach hook,$($(PKG)_PRE_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep))
|
||||
@$(call MESSAGE,"Installing to images directory")
|
||||
$(foreach hook,$($(PKG)_PRE_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep))
|
||||
+$($(PKG)_INSTALL_IMAGES_CMDS)
|
||||
$(foreach hook,$($(PKG)_POST_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep))
|
||||
@$(call step_end,install-image)
|
||||
|
Loading…
Reference in New Issue
Block a user