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

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
  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
  1 sibling, 0 replies; 7+ messages in thread
From: Arnout Vandecappelle @ 2012-12-04 22:21 UTC (permalink / raw)
  To: buildroot

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

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
  (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

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

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2012-12-05 19:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:

 Stephan> There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is
 Stephan> supposed to produce a warning when OVERRIDE_SRCDIR is active.
 Stephan> This does not work and instead the whole make terminates with
 Stephan> an error message.

 Stephan> This patch changes the check for active OVERRIDE_SRCDIR so that
 Stephan> it works as expected.

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
  2012-12-05 19:30 ` Peter Korsgaard
@ 2012-12-06 10:26   ` Stephan Hoffmann
  2012-12-06 17:07     ` Peter Korsgaard
  0 siblings, 1 reply; 7+ messages in thread
From: Stephan Hoffmann @ 2012-12-06 10:26 UTC (permalink / raw)
  To: buildroot

Am 05.12.2012 20:30, schrieb Peter Korsgaard:
>>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:
>  Stephan> There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is
>  Stephan> supposed to produce a warning when OVERRIDE_SRCDIR is active.
>  Stephan> This does not work and instead the whole make terminates with
>  Stephan> an error message.
>
>  Stephan> This patch changes the check for active OVERRIDE_SRCDIR so that
>  Stephan> it works as expected.
>
> Committed, thanks.
>
Hi,

sorry, but I forgot that Arnout's patch
http://lists.busybox.net/pipermail/buildroot/2012-October/059910.html is
not yet applied. My patch does not work without this.

Kind regards

Stephan

-- 
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de     sho at reLinux.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121206/040baca5/attachment.html>

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

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
  2012-12-06 10:26   ` Stephan Hoffmann
@ 2012-12-06 17:07     ` Peter Korsgaard
  2012-12-06 23:15       ` Arnout Vandecappelle
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2012-12-06 17:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:

Hi,

 Stephan>     Committed, thanks.

 Stephan> Hi,

 Stephan> sorry, but I forgot that Arnout's patch
 Stephan> http://lists.busybox.net/pipermail/
 Stephan> buildroot/2012-October/059910.html is not yet applied. My
 Stephan> patch does not work without this.

Ahh, ok. Arnout, you mentioned you would rework and resend the patch:

http://lists.busybox.net/pipermail/buildroot/2012-October/059941.html

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
  2012-12-06 17:07     ` Peter Korsgaard
@ 2012-12-06 23:15       ` Arnout Vandecappelle
  2012-12-07  1:12         ` Peter Korsgaard
  0 siblings, 1 reply; 7+ messages in thread
From: Arnout Vandecappelle @ 2012-12-06 23:15 UTC (permalink / raw)
  To: buildroot

On 06/12/12 18:07, Peter Korsgaard wrote:
>>>>>> "Stephan" == Stephan Hoffmann<sho@relinux.de>  writes:
>
> Hi,
>
>   Stephan>      Committed, thanks.
>
>   Stephan>  Hi,
>
>   Stephan>  sorry, but I forgot that Arnout's patch
>   Stephan>  http://lists.busybox.net/pipermail/
>   Stephan>  buildroot/2012-October/059910.html is not yet applied. My
>   Stephan>  patch does not work without this.
>
> Ahh, ok. Arnout, you mentioned you would rework and resend the patch:
>
> http://lists.busybox.net/pipermail/buildroot/2012-October/059941.html

  Which I did:
http://lists.busybox.net/pipermail/buildroot/2012-October/059954.html

  I'll resend with the ACKs.

  Regards,
  Arnout


-- 
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

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

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
  2012-12-06 23:15       ` Arnout Vandecappelle
@ 2012-12-07  1:12         ` Peter Korsgaard
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2012-12-07  1:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 Stephan> sorry, but I forgot that Arnout's patch
 Stephan> http://lists.busybox.net/pipermail/
 Stephan> buildroot/2012-October/059910.html is not yet applied. My
 Stephan> patch does not work without this.
 >> 
 >> Ahh, ok. Arnout, you mentioned you would rework and resend the patch:
 >> 
 >> http://lists.busybox.net/pipermail/buildroot/2012-October/059941.html

 Arnout>  Which I did:
 Arnout> http://lists.busybox.net/pipermail/buildroot/2012-October/059954.html

Ahh, sorry - And thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[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