Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/kexec
Date: Fri, 27 Jul 2007 00:34:44 -0700 (PDT)	[thread overview]
Message-ID: <20070727073444.D78B9A470F@busybox.net> (raw)

Author: ulf
Date: 2007-07-27 00:34:44 -0700 (Fri, 27 Jul 2007)
New Revision: 19267

Log:
Patch kexec inside makefile

Removed:
   trunk/buildroot/package/kexec/kexec-patch.sh

Modified:
   trunk/buildroot/package/kexec/kexec.mk


Changeset:
Deleted: trunk/buildroot/package/kexec/kexec-patch.sh
===================================================================
--- trunk/buildroot/package/kexec/kexec-patch.sh	2007-07-27 07:32:13 UTC (rev 19266)
+++ trunk/buildroot/package/kexec/kexec-patch.sh	2007-07-27 07:34:44 UTC (rev 19267)
@@ -1,16 +0,0 @@
-#!/bin/bash
-SRCDIR=$1
-PATCHDIR=$2
-PATCHLIST=${PATCHDIR}/$3
-
-do_patch()
-{
-	cd ${SRCDIR}
-	for f in `cat ${PATCHLIST}` ; do
-		echo ${PATCHDIR}/$f
-		cat ${PATCHDIR}/$f | patch -p2
-	done
-}
-
-do_patch
-

Modified: trunk/buildroot/package/kexec/kexec.mk
===================================================================
--- trunk/buildroot/package/kexec/kexec.mk	2007-07-27 07:32:13 UTC (rev 19266)
+++ trunk/buildroot/package/kexec/kexec.mk	2007-07-27 07:34:44 UTC (rev 19267)
@@ -34,9 +34,10 @@
 $(KEXEC_DIR)/.unpacked: $(DL_DIR)/$(KEXEC_SOURCE) $(DL_DIR)/$(KEXEC_PATCH)
 	$(KEXEC_CAT) $(DL_DIR)/$(KEXEC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 ifneq ($(KEXEC_PATCH),)
-	(cd $(KEXEC_DIR) && $(KEXEC_CAT) $(DL_DIR)/$(KEXEC_PATCH) | patch -p1)
-	package/kexec/kexec-patch.sh $(KEXEC_DIR) $(KEXEC_DIR)/debian/patches 00list
-#	toolchain/patch-kernel.sh $(KEXEC_DIR) $(KEXEC_DIR)/debian/patches \*.patch
+	(cd $(KEXEC_DIR) && $(KEXEC_CAT) $(DL_DIR)/$(KEXEC_PATCH) | patch -p1;	\
+	for f in `cat debian/patches/00list` ; do	\
+		cat debian/patches/$$f | patch -p2 ; 	\
+	done)
 endif
 	toolchain/patch-kernel.sh $(KEXEC_DIR) package/kexec/ kexec\*.patch
 	touch $@

             reply	other threads:[~2007-07-27  7:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27  7:34 ulf at uclibc.org [this message]
2007-07-27 10:32 ` [Buildroot] svn commit: trunk/buildroot/package/kexec Bernhard Fischer
  -- strict thread matches above, loose matches on Subject: below --
2009-02-21 19:13 jacmet at uclibc.org
2008-05-28  1:21 hamish at uclibc.org
2007-10-18  5:26 ulf at uclibc.org
2007-10-18  5:47 ` Hamish Moffatt
2007-10-18  6:16   ` Ulf Samuelsson
2007-07-24 14:06 ulf at uclibc.org
2007-07-24 14:05 ` Bernhard Fischer
2007-01-24 19:11 aldot at uclibc.org
2007-01-23 11:47 aldot at uclibc.org
2007-01-22 14:59 aldot at uclibc.org
2006-12-20 17:40 aldot at uclibc.org
2006-12-20 16:50 aldot at uclibc.org
2006-12-20 17:01 ` Petr Stetiar
2007-01-22 16:45   ` Bernhard Fischer
2006-12-20 14:41 aldot at uclibc.org

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=20070727073444.D78B9A470F@busybox.net \
    --to=ulf@uclibc.org \
    --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