mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
pkg-generic: remove the .stamp_rsync_sourced fake stamp file
The only reason for the .stamp_rsync_sourced fake stamp file target to exist was to handle the SOURCE_CHECK operation on packages using the OVERRIDE_SRCDIR mechanism. Now that this is handled directly inside $(1)-source-check, there is no longer any need for this part of the code. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
f9b928244a
commit
f9393716de
@ -122,14 +122,6 @@ $(BUILD_DIR)/%/.stamp_rsynced:
|
|||||||
$(foreach hook,$($(PKG)_POST_RSYNC_HOOKS),$(call $(hook))$(sep))
|
$(foreach hook,$($(PKG)_POST_RSYNC_HOOKS),$(call $(hook))$(sep))
|
||||||
$(Q)touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Handle the SOURCE_CHECK case for rsynced packages
|
|
||||||
$(BUILD_DIR)/%/.stamp_rsync_sourced:
|
|
||||||
ifeq ($(DL_MODE),SOURCE_CHECK)
|
|
||||||
test -d $(SRCDIR)
|
|
||||||
else
|
|
||||||
@true # Nothing to do to source a local package
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Patch
|
# Patch
|
||||||
#
|
#
|
||||||
# The RAWNAME variable is the lowercased package name, which allows to
|
# The RAWNAME variable is the lowercased package name, which allows to
|
||||||
@ -442,7 +434,6 @@ $(2)_TARGET_INSTALL_HOST = $$($(2)_DIR)/.stamp_host_installed
|
|||||||
$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built
|
$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built
|
||||||
$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured
|
$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured
|
||||||
$(2)_TARGET_RSYNC = $$($(2)_DIR)/.stamp_rsynced
|
$(2)_TARGET_RSYNC = $$($(2)_DIR)/.stamp_rsynced
|
||||||
$(2)_TARGET_RSYNC_SOURCE = $$($(2)_DIR)/.stamp_rsync_sourced
|
|
||||||
$(2)_TARGET_PATCH = $$($(2)_DIR)/.stamp_patched
|
$(2)_TARGET_PATCH = $$($(2)_DIR)/.stamp_patched
|
||||||
$(2)_TARGET_EXTRACT = $$($(2)_DIR)/.stamp_extracted
|
$(2)_TARGET_EXTRACT = $$($(2)_DIR)/.stamp_extracted
|
||||||
$(2)_TARGET_SOURCE = $$($(2)_DIR)/.stamp_downloaded
|
$(2)_TARGET_SOURCE = $$($(2)_DIR)/.stamp_downloaded
|
||||||
@ -577,7 +568,7 @@ $(1)-extract: $(1)-rsync
|
|||||||
|
|
||||||
$(1)-rsync: $$($(2)_TARGET_RSYNC)
|
$(1)-rsync: $$($(2)_TARGET_RSYNC)
|
||||||
|
|
||||||
$(1)-source: $$($(2)_TARGET_RSYNC_SOURCE)
|
$(1)-source:
|
||||||
|
|
||||||
$(1)-source-check:
|
$(1)-source-check:
|
||||||
test -d $$($(2)_OVERRIDE_SRCDIR)
|
test -d $$($(2)_OVERRIDE_SRCDIR)
|
||||||
@ -644,8 +635,6 @@ $$($(2)_TARGET_BUILD): PKG=$(2)
|
|||||||
$$($(2)_TARGET_CONFIGURE): PKG=$(2)
|
$$($(2)_TARGET_CONFIGURE): PKG=$(2)
|
||||||
$$($(2)_TARGET_RSYNC): SRCDIR=$$($(2)_OVERRIDE_SRCDIR)
|
$$($(2)_TARGET_RSYNC): SRCDIR=$$($(2)_OVERRIDE_SRCDIR)
|
||||||
$$($(2)_TARGET_RSYNC): PKG=$(2)
|
$$($(2)_TARGET_RSYNC): PKG=$(2)
|
||||||
$$($(2)_TARGET_RSYNC_SOURCE): SRCDIR=$$($(2)_OVERRIDE_SRCDIR)
|
|
||||||
$$($(2)_TARGET_RSYNC_SOURCE): PKG=$(2)
|
|
||||||
$$($(2)_TARGET_PATCH): PKG=$(2)
|
$$($(2)_TARGET_PATCH): PKG=$(2)
|
||||||
$$($(2)_TARGET_PATCH): RAWNAME=$$(patsubst host-%,%,$(1))
|
$$($(2)_TARGET_PATCH): RAWNAME=$$(patsubst host-%,%,$(1))
|
||||||
$$($(2)_TARGET_PATCH): PKGDIR=$(pkgdir)
|
$$($(2)_TARGET_PATCH): PKGDIR=$(pkgdir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user