All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net, Andi Kleen <andi@firstfloor.org>,
	Mike Frysinger <vapier@gentoo.org>, Nate Straz <nate@refried.org>
Subject: Re: [LTP] LTP 20091031 Makefiles totally broken?!?
Date: Fri, 6 Nov 2009 23:47:53 +0100	[thread overview]
Message-ID: <20091106224752.GL819@basil.fritz.box> (raw)
In-Reply-To: <364299f40911061359v1e59fb0ct7b990da3edf655ea@mail.gmail.com>

> $(abspath $(FOO)) only exists in 3.81+, along with some of the other
> built-in functions IIRC. Replacing $(abspath ) with $(shell readlink
> -f "$(FOO)" 2>/dev/null) is possible, but there are some associated
> issues with that solution:
> 
> 1. They must have readlink
> 1. It may fail if their shell is toast (in this case, they're kind of SoL).
> 2. It may fail if their's a bug (that's my job to fix).
> 
> It's bad practice to use $(shell ) because it also consumes a lot more
> resources allocating a separate shell, and all that badness associated
> with it.

With := it's probably not too bad to call the shell.
> 
> If $(patsubst ) is toast, then I'll have to replace it with $(shell )
> call to awk or perl.

As a datapoint the kernel uses patsubst and afaik it builds with 3.80

> I really do appreciate the feedback. As I stated before though, 3.80
> is where we need to draw the line in the sand, because 3.79 is a
> buggy, ancient PoS, so RHEL 4 users and other users of distros around
> that era will _need_ to compile 3.80, or 3.81 and install it on their
> target systems.

At least for me that works, but I don't speak for RHEL4 users.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2009-11-06 22:48 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06  9:57 [LTP] LTP 20091031 Makefiles totally broken?!? Andi Kleen
2009-11-06 11:16 ` Mike Frysinger
2009-11-06 13:09   ` Andi Kleen
2009-11-06 13:21     ` Mike Frysinger
2009-11-06 18:04       ` Garrett Cooper
2009-11-06 18:23         ` Garrett Cooper
2009-11-06 19:09         ` Mike Frysinger
2009-11-06 19:17           ` Andi Kleen
2009-11-09 13:15             ` Cyril Hrubis
2009-11-06 23:02           ` Matt Helsley
2009-11-06 23:09             ` Mike Frysinger
2009-11-06 23:34               ` Matt Helsley
2009-11-07  0:23                 ` Mike Frysinger
2009-11-07  0:52                   ` Garrett Cooper
2009-11-07  0:54                     ` Garrett Cooper
2009-11-08  2:09                       ` Garrett Cooper
2009-11-08 20:02                         ` Garrett Cooper
2009-11-09 18:01                           ` Garrett Cooper
2009-11-06 19:13         ` Andi Kleen
2009-11-06 19:39           ` Mike Frysinger
2009-11-06 19:44             ` Garrett Cooper
2009-11-06 19:53               ` Mike Frysinger
2009-11-06 19:50             ` Andi Kleen
2009-11-06 19:58               ` Mike Frysinger
2009-11-06 20:04               ` Mike Frysinger
2009-11-06 19:43           ` Nate Straz
2009-11-06 19:59             ` Andi Kleen
2009-11-06 20:25               ` Garrett Cooper
2009-11-06 21:02                 ` Andi Kleen
2009-11-06 21:12                   ` Mike Frysinger
2009-11-06 21:45                     ` Andi Kleen
2009-11-06 21:59                       ` Garrett Cooper
2009-11-06 22:47                         ` Andi Kleen [this message]
2009-11-06 23:03                           ` Nate Straz
2009-11-06 22:46                       ` Mike Frysinger
2009-11-06 21:47                   ` Garrett Cooper
2009-11-06 21:57                     ` Andi Kleen

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=20091106224752.GL819@basil.fritz.box \
    --to=andi@firstfloor.org \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=nate@refried.org \
    --cc=vapier@gentoo.org \
    --cc=yanegomi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.