Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Laird <daniel.j.laird@nxp.com>
To: buildroot@busybox.net
Subject: [Buildroot] Makefile.autotools.in problems
Date: Fri, 11 Jul 2008 05:42:51 -0700 (PDT)	[thread overview]
Message-ID: <18402988.post@talk.nabble.com> (raw)
In-Reply-To: <18402911.post@talk.nabble.com>


Oops, wrong patch :-( 
Heres the correct patch:
diff -urN buildroot-20080708.orig/buildroot/package/Makefile.autotools.in
buildroot-20080708/buildroot/package/Makefile.autotools.in
--- buildroot-20080708.orig/buildroot/package/Makefile.autotools.in
2008-07-08 13:47:19.000000000 +0100
+++ buildroot-20080708/buildroot/package/Makefile.autotools.in	2008-07-11
13:39:36.000000000 +0100
@@ -170,12 +170,16 @@
 	$(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR)
$($(PKG)_PATCH))
 	$(Q)( \
 	if test -d $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME); then \
+	  if test -d
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/patches-$($(PKG)_VERSION); then \
+	    toolchain/patch-kernel.sh $(@D)
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/patches-$($(PKG)_VERSION)/ \*.patch
\*.patch.$(ARCH) || exit 1; \
+	  else \
 	  if test "$(wildcard
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER)*.patch*)"; then \
 	    toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)
$(NAMEVER)\*.patch $(NAMEVER)\*.patch.$(ARCH) || exit 1; \
 	  else \
 	    toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)
$($(PKG)_NAME)\*.patch $($(PKG)_NAME)\*.patch.$(ARCH) || exit 1; \
 	    if test -d package/$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER);
then \
 	      toolchain/patch-kernel.sh $(@D)
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER) \*.patch \*.patch.$(ARCH) ||
exit 1; \
+	      fi; \
 	    fi; \
 	  fi; \
 	fi; \

Any thoughts?
-- 
View this message in context: http://www.nabble.com/Makefile.autotools.in-problems-tp18377517p18402988.html
Sent from the BuildRoot mailing list archive at Nabble.com.

      reply	other threads:[~2008-07-11 12:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-10  7:37 [Buildroot] Makefile.autotools.in problems Daniel Laird
2008-07-10  7:47 ` Peter Korsgaard
2008-07-10 13:31   ` Ulf Samuelsson
2008-07-11  8:02     ` Daniel Laird
2008-07-11  8:17   ` Bernhard Fischer
2008-07-11  8:56     ` Daniel Laird
2008-07-11 12:36       ` Daniel Laird
2008-07-11 12:42         ` Daniel Laird [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=18402988.post@talk.nabble.com \
    --to=daniel.j.laird@nxp.com \
    --cc=buildroot@busybox.net \
    /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