Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
@ 2012-12-03 10:05 Stephan Hoffmann
  2012-12-04 22:21 ` Arnout Vandecappelle
  2012-12-05 19:30 ` Peter Korsgaard
  0 siblings, 2 replies; 7+ messages in thread
From: Stephan Hoffmann @ 2012-12-03 10:05 UTC (permalink / raw)
  To: buildroot

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 <sho@relinux.de>
---
 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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-07  1:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03 10:05 [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR Stephan Hoffmann
2012-12-04 22:21 ` Arnout Vandecappelle
2012-12-05 19:30 ` Peter Korsgaard
2012-12-06 10:26   ` Stephan Hoffmann
2012-12-06 17:07     ` Peter Korsgaard
2012-12-06 23:15       ` Arnout Vandecappelle
2012-12-07  1:12         ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox