perf tools: Allow building perf source tarballs on non-configured tree
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Jun 2010 10:44:25 +0000 (07:44 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Jun 2010 10:49:24 +0000 (07:49 -0300)
commitbafb67470b294810f62db40b348643062255702b
tree779afd62343fc0ae7edb0ddf604e7270157e19a9
parentf60f359383edf2a0ec3aa32cf8be98ad815bdf65
perf tools: Allow building perf source tarballs on non-configured tree

So that we don't require that the kernel be configured first, and as we
don't use KERNELRELEASE at all in the -src-pkg targets, we need o add a
new wildcard for targets ending in src-pkg:

On a make mrproper'ed kernel we get this without this patch:

[linux-2.6-tip]$ LANG= make perf-tarbz2-src-pkg
/bin/sh: include/config/kernel.release: No such file or directory
make: *** [include/config/kernel.release] Error 1
[acme@emilia linux-2.6-tip]$

Acked-by: Michal Marek <mmarek@suse.cz>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <20100604173552.GA875@ghostprotocols.net>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Makefile