| | |
| | | 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` |
| | |
| | | + |
| | | + chmod a-x u-boot |
| | | + |
| | | + chmod a+x MLO ${IMG_NAME} |
| | | + chmod a+x ${IMG_NAME} |
| | | +} |
| | | + |
| | | +function do_install() |
| | |
| | | + |
| | | 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 |