Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem with apply-patches.sh
@ 2012-04-16 14:40 Will Newton
  2012-04-16 16:00 ` Ludovic Desroches
  0 siblings, 1 reply; 11+ messages in thread
From: Will Newton @ 2012-04-16 14:40 UTC (permalink / raw)
  To: buildroot

Hi all,

I noticed that in some cases apply-patches.sh will misbehave if you
have a file matching the glob '*.patch' in the top-level directory.
For example the patching of binutils fails in this case. The problem
is at the line:

    support/scripts/apply-patches.sh $(@D)
$($(PKG)_DIR_PREFIX)/$(RAWNAME)/$(NAMEVER) \*.patch \*.patch.$(ARCH)
|| exit 1;

in package/Makefile.package.in. The glob gets expanded prematurely (to
e.g. myfile.patch) and then the expanded glob is passed to
apply-patches.sh which will fail to find any patches matching the
glob. I've had a go at trying to stop this happening but with no
success so far. Can anyone think of any creative ways to suppress this
expansion?

Thanks,

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-04-16 21:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 14:40 [Buildroot] Problem with apply-patches.sh Will Newton
2012-04-16 16:00 ` Ludovic Desroches
2012-04-16 16:02   ` [Buildroot] [PATCH] apply-patches.sh: patch pattern was expanded prematurely ludovic.desroches at atmel.com
2012-04-16 16:07     ` Ludovic Desroches
2012-04-16 21:19     ` Peter Korsgaard
2012-04-16 16:09   ` [Buildroot] Problem with apply-patches.sh Will Newton
2012-04-16 16:23     ` Ludovic Desroches
2012-04-16 16:27       ` Will Newton
2012-04-16 16:42         ` Ludovic Desroches
2012-04-16 16:54           ` Will Newton
2012-04-16 16:58             ` Ludovic Desroches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox