From 054f97e1f2de337ea0c788d766212a36d6d4e41c Mon Sep 17 00:00:00 2001 From: "Arnout Vandecappelle (Essensium/Mind)" Date: Thu, 6 Dec 2012 13:16:00 +0000 Subject: [PATCH] pkg-infra: add -extract and -patch targets to OVERRIDE support The legal-info target (and possibly others as well) depends on -extract to make sure the license file is available. However, when _OVERRIDE_SRCDIR is active, the -extract target doesn't exist. To solve this, we add -extract which depends on -rsync. While we're at it, we do the same for -patch. That avoids the same problem in the future if something starts depending on -patch. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Thomas Petazzoni Acked-by: Luca Ceresoli Signed-off-by: Peter Korsgaard --- package/pkg-generic.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index fc05dc66bb..a570ad758f 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -390,6 +390,9 @@ $(1)-configure: $(1)-depends \ $(1)-depends: $(1)-rsync $$($(2)_DEPENDENCIES) +$(1)-patch: $(1)-rsync +$(1)-extract: $(1)-rsync + $(1)-rsync: $$($(2)_TARGET_RSYNC) $(1)-source: $$($(2)_TARGET_RSYNC_SOURCE) -- 2.30.2