From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Tue, 04 Dec 2012 23:21:24 +0100 Subject: [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR In-Reply-To: <1354529151-17426-1-git-send-email-sho@relinux.de> References: <1354529151-17426-1-git-send-email-sho@relinux.de> Message-ID: <50BE7764.4020204@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 03/12/12 11:05, Stephan Hoffmann wrote: > There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is > supposed to produce a warning when OVERRIDE_SRCDIR is active. > This does not work and instead the whole make terminates with > an error message. > > This patch changes the check for active OVERRIDE_SRCDIR so that > it works as expected. > > Signed-off-by: Stephan Hoffmann Acked-by: Arnout Vandecappelle (Essensium/Mind) (visual inspection only) Regards, Arnout > --- > package/pkg-generic.mk | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index 9c4fffa..d6bcb67 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -479,7 +479,7 @@ ifneq ($(call qstrip,$$($(2)_SOURCE)),) > ifeq ($$($(2)_SITE_METHOD),local) > # Packages without a tarball: don't save and warn > @$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),local) > -else ifeq ($$($(2)_SITE_METHOD),override) > +else ifneq ($$($(2)_OVERRIDE_SRCDIR),) > @$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),override) > else > # Other packages -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F