aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/crash/crash/7001force_define_architecture.patch
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2015-07-17 11:10:00 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-07-30 21:03:27 +0200
commit54a9b63be4c9944e71c4eb23892b717e1d7693c4 (patch)
tree3a72c6f370c3920ca2cd1bc6d14ac1ddcb06f8d0 /meta-oe/recipes-kernel/crash/crash/7001force_define_architecture.patch
parent96a4d9ad7b0150133340105f7ca84243398b11a9 (diff)
downloadmeta-openembedded-contrib-54a9b63be4c9944e71c4eb23892b717e1d7693c4.tar.gz
crash: upgrade from 7.0.9 to 7.1.2
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/crash/crash/7001force_define_architecture.patch')
-rw-r--r--meta-oe/recipes-kernel/crash/crash/7001force_define_architecture.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/crash/crash/7001force_define_architecture.patch b/meta-oe/recipes-kernel/crash/crash/7001force_define_architecture.patch
new file mode 100644
index 0000000000..0d44c7f176
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash/7001force_define_architecture.patch
@@ -0,0 +1,13 @@
+diff -uprN crash-5.1.8.org/configure.c crash-5.1.8/configure.c
+--- crash-5.1.8.org/configure.c 2011-09-17 04:01:12.000000000 +0900
++++ crash-5.1.8/configure.c 2012-09-13 13:28:45.393344108 +0900
+@@ -391,6 +391,9 @@ get_current_configuration(struct support
+ arch_mismatch(sp);
+ }
+
++ /** Force define archtecture */
++ target_data.target = FORCE_DEFINE_ARCH;
++
+ if ((fp = fopen("Makefile", "r")) == NULL) {
+ perror("Makefile");
+ goto get_release;