diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-04-28 19:27:07 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-28 19:27:07 +0000 |
commit | 451dbfc418dcc6e729760f5cdddda390fe656c2d (patch) | |
tree | ce2ce302de2ededdfc955a6247706f9264133682 /packages/uboot/u-boot-1.1.4/u-boot-autoscript.patch | |
parent | 06d7029eab67082c2790dafb6d8b592a5e7fbfaa (diff) |
* add build for u-boot 1.1.4 with default_pref -1
* add patches required for u-boot on gumstix
- close #862
Diffstat (limited to 'packages/uboot/u-boot-1.1.4/u-boot-autoscript.patch')
-rw-r--r-- | packages/uboot/u-boot-1.1.4/u-boot-autoscript.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/uboot/u-boot-1.1.4/u-boot-autoscript.patch b/packages/uboot/u-boot-1.1.4/u-boot-autoscript.patch new file mode 100644 index 0000000000..1864b4494e --- /dev/null +++ b/packages/uboot/u-boot-1.1.4/u-boot-autoscript.patch @@ -0,0 +1,12 @@ +--- u-boot-1.1.2/common/cmd_autoscript.c ++++ u-boot-1.1.2/common/cmd_autoscript.c +@@ -110,8 +110,8 @@ + return 1; + } + +- while (*len_ptr++); ++ do { len_ptr++; } while (!(*len_ptr)); + + /* make sure cmd is null terminated */ + memmove (cmd, (char *)len_ptr, len); + *(cmd + len) = 0; |