public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: "Sam Ravnborg" <sam@ravnborg.org>,
	"David S. Miller" <davem@davemloft.net>,
	"Frédéric Weisbecker" <fweisbec@gmail.com>,
	"Ingo Molnar" <mingo@elte.hu>, "Mike Galbraith" <efault@gmx.de>,
	"Paul Mackerras" <paulus@samba.org>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Stephane Eranian" <eranian@google.com>,
	"Tom Zanussi" <tzanussi@gmail.com>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 1/1] perf tools: Make target to generate self contained source tarball
Date: Mon, 07 Jun 2010 12:11:15 +0200	[thread overview]
Message-ID: <4C0CC5C3.6000702@suse.cz> (raw)
In-Reply-To: <20100604173552.GA875@ghostprotocols.net>

On 4.6.2010 19:35, Arnaldo Carvalho de Melo wrote:
> Em Tue, Jun 01, 2010 at 12:28:58PM +0200, Michal Marek escreveu:
>> On 1.6.2010 01:06, Arnaldo Carvalho de Melo wrote:
>>> Well, what about the other aspects of the patch, is this the only issue
>>> you have found with it?
>>
>> The patch is OK.
>>
>> Acked-by: Michal Marek <mmarek@suse.cz>
> 
> Argh, there was one last detail, 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, would that be OK with you too?
> 
> [acme@emilia linux-2.6-tip]$ git diff Makefile 
> diff --git a/Makefile b/Makefile
> index 0ab0c6f..6e186a1 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1215,6 +1215,8 @@ distclean: mrproper
>  # rpm target kept for backward compatibility
>  package-dir    := $(srctree)/scripts/package
>  
> +%src-pkg: FORCE
> +       $(Q)$(MAKE) $(build)=$(package-dir) $@
>  %pkg: include/config/kernel.release FORCE
>         $(Q)$(MAKE) $(build)=$(package-dir) $@
>  rpm: include/config/kernel.release FORCE
> [acme@emilia linux-2.6-tip]$
> 
> On a make mrproper'ed kernel we get:
> 
> a 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]$
> 
> :-\
> 
> If you're ok with it, I'll add it as a follow on patch that I'll send
> via Ingo.

Looks ok to me, any future *-src-pkg target will also just package
sources and thus not depend on the configuration.

Acked-by: Michal Marek <mmarek@suse.cz>

Michal

      reply	other threads:[~2010-06-07 10:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28 18:53 [PATCH 1/1] perf tools: Make target to generate self contained source tarball Arnaldo Carvalho de Melo
2010-05-29  7:29 ` Sam Ravnborg
2010-05-29 13:40   ` Arnaldo Carvalho de Melo
2010-05-31 15:42   ` Arnaldo Carvalho de Melo
2010-05-31 17:42   ` [PATCH v2 " Arnaldo Carvalho de Melo
2010-05-31 18:06     ` Sam Ravnborg
2010-05-31 20:11     ` Michal Marek
2010-05-31 23:06       ` Arnaldo Carvalho de Melo
2010-06-01 10:28         ` Michal Marek
2010-06-04 17:35           ` Arnaldo Carvalho de Melo
2010-06-07 10:11             ` Michal Marek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C0CC5C3.6000702@suse.cz \
    --to=mmarek@suse.cz \
    --cc=acme@infradead.org \
    --cc=davem@davemloft.net \
    --cc=efault@gmx.de \
    --cc=ehabkost@redhat.com \
    --cc=eranian@google.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    --cc=peterz@infradead.org \
    --cc=sam@ravnborg.org \
    --cc=tzanussi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox