[Buildroot] [PATCH] U-BOOT: A patch to fix the fw_printenv compilation
Michel (BusError)
buildroot.atmel.com at pollet.net
Tue Apr 8 19:41:42 UTC 2008
From: Michel <michel.git at pollet.net>
Signed-off-by: Michel <michel.git at pollet.net>
---
...oot-1.3.0-env-110-fw_printenv_compile_fix.patch | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 target/u-boot/u-boot-1.3.0-env-110-fw_printenv_compile_fix.patch
diff --git a/target/u-boot/u-boot-1.3.0-env-110-fw_printenv_compile_fix.patch b/target/u-boot/u-boot-1.3.0-env-110-fw_printenv_compile_fix.patch
new file mode 100644
index 0000000..268a6ff
--- /dev/null
+++ b/target/u-boot/u-boot-1.3.0-env-110-fw_printenv_compile_fix.patch
@@ -0,0 +1,12 @@
+diff -ruN u-boot-1.3.0/tools/env/fw_env.c u-boot-1.3.0.new/tools/env/fw_env.c
+--- u-boot-1.3.0/tools/env/fw_env.c 2007-11-19 21:20:24.000000000 +0000
++++ u-boot-1.3.0.new/tools/env/fw_env.c 2008-04-07 15:34:51.000000000 +0100
+@@ -31,7 +31,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
+-#include <linux/mtd/mtd.h>
++#include <mtd/mtd-user.h>
+ #include "fw_env.h"
+
+ typedef unsigned char uchar;
--
1.5.4.3
More information about the buildroot
mailing list