[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1212601930.32207.134.camel@pmac.infradead.org>
Date: Wed, 04 Jun 2008 18:52:10 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Segher Boessenkool <segher@...nel.crashing.org>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>,
LKML <linux-kernel@...r.kernel.org>, linux-next@...r.kernel.org,
Andy Whitcroft <apw@...dowen.org>
Subject: Re: [BUILD-FAILURE] linux-next: Tree for June 4 -
firmware/keyspan/mpr.fw.gen.S
On Wed, 2008-06-04 at 19:19 +0200, Segher Boessenkool wrote:
> It is a new feature in GNU make 3.81, which was released slightly
> over two years ago.
Hm, Ok. I'll stick in a workaround. Thanks.
diff --git a/firmware/Makefile b/firmware/Makefile
index b4f758a..166a9b0 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -83,6 +83,13 @@ wordsize_deps := $(wildcard include/config/64bit.h include/config/32bit.h \
include/config/superh32.h include/config/superh64.h \
include/config/x86_32.h include/config/x86_64.h)
+# Workaround for ancient versions of make, where .SECONDEXPANSION doesn't work.
+# It'll end up depending on these targets, so make them a PHONY rule which
+# depends on _all_ the directories in $(firmware-dirs), and it'll work out OK.
+PHONY += $(objtree)/$$(%) $(objtree)/$(obj)/$$(%)
+$(objtree)/$$(%) $(objtree)/$(obj)/$$(%): $(firmware-dirs)
+ @true
+
# For the $$(dir %) trick, where we need % to be expanded first.
.SECONDEXPANSION:
--
dwmw2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists