infra: fix "<pkg>-rebuild" when using rsync source feature
Because the configure stamp file depends on the rsync stamp file, removing it by the "<pkg>-clean-for-rebuild" rule trigger the configure step. To avoid triggering the configure step use an order-only dependency. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Reported-by: Cédric Marie <cedric.marie@openmailbox.org> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
762b14713e
commit
67f25d1b21
@ -545,7 +545,10 @@ else
|
||||
# source, by rsyncing
|
||||
# depends
|
||||
# configure
|
||||
$$($(2)_TARGET_CONFIGURE): $$($(2)_TARGET_RSYNC)
|
||||
|
||||
# Use an order-only dependency so the "<pkg>-clean-for-rebuild" rule
|
||||
# can remove the stamp file without triggering the configure step.
|
||||
$$($(2)_TARGET_CONFIGURE): | $$($(2)_TARGET_RSYNC)
|
||||
|
||||
$(1)-depends: $$($(2)_FINAL_DEPENDENCIES)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user