[oe-commits] Graeme Gregory : kexec-tools-static_1.101.bb : fix compile on newer kernels based on work done

GIT User account git at amethyst.openembedded.net
Thu May 14 11:46:30 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8bef3a222f49e2d94d7545f440b0aba173e5d7ce
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8bef3a222f49e2d94d7545f440b0aba173e5d7ce

Author: Graeme Gregory <dp at xora.org.uk>
Date:   Thu May 14 12:39:31 2009 +0100

kexec-tools-static_1.101.bb : fix compile on newer kernels based on work done
by Peter Chubb <peter.chubb at nicta.com.au>

---

 recipes/kexec/files/kexec-arm-atags.patch |   15 +++++++--------
 recipes/kexec/kexec-tools-static_1.101.bb |    2 +-
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/recipes/kexec/files/kexec-arm-atags.patch b/recipes/kexec/files/kexec-arm-atags.patch
index bf6f640..eb3cb75 100644
--- a/recipes/kexec/files/kexec-arm-atags.patch
+++ b/recipes/kexec/files/kexec-arm-atags.patch
@@ -4,9 +4,9 @@
 
 Index: kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c
 ===================================================================
---- kexec-tools-1.101.orig/kexec/arch/arm/kexec-zImage-arm.c	2007-12-26 21:17:07.000000000 +0000
-+++ kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c	2007-12-27 01:24:25.000000000 +0000
-@@ -1,11 +1,83 @@
+--- kexec-tools-1.101.orig/kexec/arch/arm/kexec-zImage-arm.c
++++ kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c
+@@ -1,11 +1,82 @@
 +/*
 + * - 08/21/2007 ATAG support added by Uli Luckas <u.luckas at road.de>
 + *
@@ -20,7 +20,6 @@ Index: kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c
 +#include <stdint.h>
 +#include <getopt.h>
 +#include <arch/options.h>
-+#include <asm/page.h>
  #include "../../kexec.h"
  
 +#define COMMAND_LINE_SIZE 1024
@@ -90,7 +89,7 @@ Index: kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c
  int zImage_arm_probe(const char *buf, off_t len)
  {
  	/* 
-@@ -14,21 +86,194 @@ int zImage_arm_probe(const char *buf, of
+@@ -14,21 +85,194 @@ int zImage_arm_probe(const char *buf, of
  	 */	
  	return 0;
  }
@@ -102,8 +101,7 @@ Index: kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c
 +		"     --initrd=FILE         Use FILE as the kernel's initial ramdisk.\n"
 +		"     --ramdisk=FILE        Use FILE as the kernel's initial ramdisk.\n"
 +		);
- }
--int zImage_arm_load(int argc, char **argv, const char *buf, off_t len, 
++}
 +
 +static
 +struct tag * atag_read_tags(void)
@@ -210,7 +208,8 @@ Index: kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c
 +	}
 +
 +	return 0;
-+}
+ }
+-int zImage_arm_load(int argc, char **argv, const char *buf, off_t len, 
 +
 +int zImage_arm_load(int argc, char **argv, const char *buf, off_t len,
  	struct kexec_info *info)
diff --git a/recipes/kexec/kexec-tools-static_1.101.bb b/recipes/kexec/kexec-tools-static_1.101.bb
index 670f055..ea44b57 100644
--- a/recipes/kexec/kexec-tools-static_1.101.bb
+++ b/recipes/kexec/kexec-tools-static_1.101.bb
@@ -1,7 +1,7 @@
 # the binaries are statical linked against klibc
 require kexec-tools.inc
 
-PR = "r4"
+PR = "r5"
 DEPENDS = "klibc"
 
 SRC_URI += "file://kexec-klibc.patch;patch=1"





More information about the Openembedded-commits mailing list