From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle (Essensium/Mind) Date: Fri, 7 Dec 2012 00:16:00 +0100 Subject: [Buildroot] [PATCH] pkg-infra: add -extract and -patch targets to OVERRIDE support Message-ID: <1354835760-9357-1-git-send-email-arnout@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: "Arnout Vandecappelle (Essensium/Mind)" 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 --- v2: As ThomasP suggested, don't remove -rsync. --- package/pkg-generic.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 6fcd359..13c1d83 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) -- 1.7.10.4