make legal-info: fails with OVERRIDE_SRCDIR
authorStephan Hoffmann <sho@relinux.de>
Mon, 3 Dec 2012 00:05:51 +0000 (00:05 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 5 Dec 2012 19:29:37 +0000 (11:29 -0800)
commit7f77121fdde5a0c16d9b6968c71e982d3e953d25
tree8e8a67510a6a6e78315c1f5e1f85ff53069c7c9f
parent907ff8983e51046cd9fddd884440e83545a38088
make legal-info: fails with OVERRIDE_SRCDIR

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>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pkg-generic.mk