From 72ce17741a61cce63a47b81ae20f66bafab3a80e Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 29 Jul 2019 13:46:51 +0800
Subject: [PATCH] update ok335x u-boot build shell script in patch file
---
ok335xD/linux-bsp/patches/u-boot-2011.09-ok335x.patch | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ok335xD/linux-bsp/patches/u-boot-2011.09-ok335x.patch b/ok335xD/linux-bsp/patches/u-boot-2011.09-ok335x.patch
index 1d8310a..b5265ec 100644
--- a/ok335xD/linux-bsp/patches/u-boot-2011.09-ok335x.patch
+++ b/ok335xD/linux-bsp/patches/u-boot-2011.09-ok335x.patch
@@ -1,12 +1,12 @@
diff -Nuar u-boot-2011.09/build.sh u-boot-2011.09-ok335x/build.sh
--- u-boot-2011.09/build.sh 1970-01-01 08:00:00.000000000 +0800
-+++ u-boot-2011.09-ok335x/build.sh 2019-07-28 19:46:24.408884985 +0800
++++ u-boot-2011.09-ok335x/build.sh 2019-07-29 13:42:52.862123947 +0800
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+TFTP_PATH=/tftp
+IMGS_PATH=../images
-+IMG_NAME=u-boot.img
++IMG_NAME="u-boot.img MLO"
+
+CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
+JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
@@ -39,7 +39,7 @@
+
+ chmod a-x u-boot
+
-+ chmod a+x MLO ${IMG_NAME}
++ chmod a+x ${IMG_NAME}
+}
+
+function do_install()
@@ -70,7 +70,7 @@
+
diff -Nuar u-boot-2011.09/Makefile u-boot-2011.09-ok335x/Makefile
--- u-boot-2011.09/Makefile 2013-11-20 14:14:16.000000000 +0800
-+++ u-boot-2011.09-ok335x/Makefile 2019-07-28 19:44:58.332883333 +0800
++++ u-boot-2011.09-ok335x/Makefile 2019-07-29 13:39:47.514120392 +0800
@@ -155,6 +155,8 @@
# load ARCH, BOARD, and CPU configuration
include $(obj)include/config.mk
--
Gitblit v1.9.1