Message ID | 1354835760-9357-1-git-send-email-arnout@mind.be |
---|---|
State | Accepted |
Headers | show |
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:
Hi,
Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Arnout> The legal-info target (and possibly others as well) depends on
Arnout> <pkg>-extract to make sure the license file is available. However,
Arnout> when <PKG>_OVERRIDE_SRCDIR is active, the <pkg>-extract target
Arnout> doesn't exist.
Arnout> To solve this, we add <pkg>-extract which depends on <pkg>-rsync.
Arnout> While we're at it, we do the same for <pkg>-patch. That avoids the
Arnout> same problem in the future if something starts depending on
Arnout> <pkg>-patch.
Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Arnout> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Arnout> Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Committed, thanks.
Am 07.12.2012 02:14, schrieb Peter Korsgaard: >>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes: > Hi, > > Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be> > Arnout> The legal-info target (and possibly others as well) depends on > Arnout> <pkg>-extract to make sure the license file is available. However, > Arnout> when <PKG>_OVERRIDE_SRCDIR is active, the <pkg>-extract target > Arnout> doesn't exist. > > Arnout> To solve this, we add <pkg>-extract which depends on <pkg>-rsync. > Arnout> While we're at it, we do the same for <pkg>-patch. That avoids the > Arnout> same problem in the future if something starts depending on > Arnout> <pkg>-patch. > > Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> > Arnout> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> > Arnout> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> > > Committed, thanks. > Thanks, now legal info works together with OVERRIDE. Stephan
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)