public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] avoid triggering config.mk/features.mk target in clean tree
Date: Tue, 22 Sep 2015 06:48:38 -0400 (EDT)	[thread overview]
Message-ID: <527059952.14929535.1442918918908.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20150922104504.GB9955@rei.suse.cz>





----- Original Message -----
> From: "Cyril Hrubis" <chrubis@suse.cz>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp@lists.linux.it, "yuriy kolerov" <yuriy.kolerov@synopsys.com>
> Sent: Tuesday, 22 September, 2015 12:45:04 PM
> Subject: Re: [PATCH v2] avoid triggering config.mk/features.mk target in clean tree
> 
> Hi!
> > diff --git a/include/mk/env_pre.mk b/include/mk/env_pre.mk
> > index 9c757e35e455..a7674141c83c 100644
> > --- a/include/mk/env_pre.mk
> > +++ b/include/mk/env_pre.mk
> > @@ -98,8 +98,12 @@ endif
> >  # which are filtered below (e.g. clean). However these config files may be
> >  # needed for those targets (eg. the open posix testsuite is not cleaned
> >  even if
> >  # it's enabled by configure) thus it would be wise to do silent inclusion.
> > --include $(abs_top_builddir)/include/mk/config.mk
> > --include $(abs_top_builddir)/include/mk/features.mk
> > +ifneq ($(wildcard $(abs_top_builddir)/include/mk/config.mk),)
> > +include $(abs_top_builddir)/include/mk/config.mk
> > +endif
> > +ifneq ($(wildcard $(abs_top_builddir)/include/mk/features.mk),)
> > +include $(abs_top_builddir)/include/mk/features.mk
> > +endif
> >  
> >  # autotools, *clean, and help don't require config.mk, features.mk, etc...
> >  ifeq ($(filter autotools %clean .gitignore gitignore.%
> >  help,$(MAKECMDGOALS)),)
> 
> Looks good to me (thanks for fixing this). Also notice that we have
> nearly identical patch from Yuriy Kolerov ([LTP] [PATCH] Fix including
> config.mk and features.mk in env_pre.mk) sent to the list.

My apologies, I missed his patch for some reason. I'll test/review his version.

Regards,
Jan


> 
> --
> Cyril Hrubis
> chrubis@suse.cz
> 

      reply	other threads:[~2015-09-22 10:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 13:52 [LTP] [PATCH v2] avoid triggering config.mk/features.mk target in clean tree Jan Stancek
2015-09-22 10:45 ` Cyril Hrubis
2015-09-22 10:48   ` Jan Stancek [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=527059952.14929535.1442918918908.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp@lists.linux.it \
    /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