From c9eff0cf46f432fb057f0cd09ac4f171ba879057 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 02 Aug 2019 01:26:12 +0800
Subject: [PATCH] update linux patch remove sym.sh and add sym_linux_tag shell script in tarballs

---
 ok335xD/linux-bsp/patches/linux-3.2.0-ok335x.patch |   27 ++++++---------------------
 ok335xD/linux-bsp/tarballs/sym_linux_tag.sh        |   24 ++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/ok335xD/linux-bsp/patches/linux-3.2.0-ok335x.patch b/ok335xD/linux-bsp/patches/linux-3.2.0-ok335x.patch
index 5b20168..09a6fb2 100644
--- a/ok335xD/linux-bsp/patches/linux-3.2.0-ok335x.patch
+++ b/ok335xD/linux-bsp/patches/linux-3.2.0-ok335x.patch
@@ -1,6 +1,6 @@
 diff -Nuar linux-3.2.0/arch/arm/mach-omap2/board-am335xevm.c linux-3.2.0-ok335x/arch/arm/mach-omap2/board-am335xevm.c
 --- linux-3.2.0/arch/arm/mach-omap2/board-am335xevm.c	2014-01-22 18:20:21.000000000 +0800
-+++ linux-3.2.0-ok335x/arch/arm/mach-omap2/board-am335xevm.c	2019-08-02 00:32:00.259843134 +0800
++++ linux-3.2.0-ok335x/arch/arm/mach-omap2/board-am335xevm.c	2019-08-02 01:06:20.599882656 +0800
 @@ -116,8 +116,8 @@
  #define SCREEN_SIZE_480X272_4  3
  #define SCREEN_SIZE_800X600_10 4
@@ -126,7 +126,7 @@
  }
 diff -Nuar linux-3.2.0/build.sh linux-3.2.0-ok335x/build.sh
 --- linux-3.2.0/build.sh	1970-01-01 08:00:00.000000000 +0800
-+++ linux-3.2.0-ok335x/build.sh	2019-08-01 23:06:33.311744786 +0800
++++ linux-3.2.0-ok335x/build.sh	2019-08-02 01:06:20.599882656 +0800
 @@ -0,0 +1,74 @@
 +#!/bin/bash
 +
@@ -204,7 +204,7 @@
 +
 diff -Nuar linux-3.2.0/.cfg-ok335x linux-3.2.0-ok335x/.cfg-ok335x
 --- linux-3.2.0/.cfg-ok335x	1970-01-01 08:00:00.000000000 +0800
-+++ linux-3.2.0-ok335x/.cfg-ok335x	2019-08-02 00:49:07.223862833 +0800
++++ linux-3.2.0-ok335x/.cfg-ok335x	2019-08-02 01:07:23.463883862 +0800
 @@ -0,0 +1,2936 @@
 +#
 +# Automatically generated file; DO NOT EDIT.
@@ -3144,7 +3144,7 @@
 +# CONFIG_CORDIC is not set
 diff -Nuar linux-3.2.0/ChangeLog.txt linux-3.2.0-ok335x/ChangeLog.txt
 --- linux-3.2.0/ChangeLog.txt	1970-01-01 08:00:00.000000000 +0800
-+++ linux-3.2.0-ok335x/ChangeLog.txt	2019-08-01 23:06:33.315744787 +0800
++++ linux-3.2.0-ok335x/ChangeLog.txt	2019-08-02 01:06:20.603882656 +0800
 @@ -0,0 +1,15 @@
 +
 +1. Nandflash(MT29F2G08ABAEAWP, 256M) Partition 
@@ -3163,7 +3163,7 @@
 +
 diff -Nuar linux-3.2.0/drivers/input/touchscreen/ft5x06_ts.c linux-3.2.0-ok335x/drivers/input/touchscreen/ft5x06_ts.c
 --- linux-3.2.0/drivers/input/touchscreen/ft5x06_ts.c	2014-01-17 14:37:52.000000000 +0800
-+++ linux-3.2.0-ok335x/drivers/input/touchscreen/ft5x06_ts.c	2019-08-02 00:36:08.423847894 +0800
++++ linux-3.2.0-ok335x/drivers/input/touchscreen/ft5x06_ts.c	2019-08-02 01:06:20.603882656 +0800
 @@ -16,7 +16,7 @@
   *
   * VERSION      	DATE			AUTHOR        Note
@@ -3193,7 +3193,7 @@
  	return ret;
 diff -Nuar linux-3.2.0/Makefile linux-3.2.0-ok335x/Makefile
 --- linux-3.2.0/Makefile	2019-07-28 20:25:29.000000000 +0800
-+++ linux-3.2.0-ok335x/Makefile	2019-08-02 00:32:01.755843162 +0800
++++ linux-3.2.0-ok335x/Makefile	2019-08-02 01:06:20.623882656 +0800
 @@ -192,8 +192,8 @@
  # Default value for CROSS_COMPILE is not to prefix executables
  # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
@@ -3205,18 +3205,3 @@
  
  # Architecture as present in compile.h
  UTS_MACHINE 	:= $(ARCH)
-diff -Nuar linux-3.2.0/sym.sh linux-3.2.0-ok335x/sym.sh
---- linux-3.2.0/sym.sh	1970-01-01 08:00:00.000000000 +0800
-+++ linux-3.2.0-ok335x/sym.sh	2019-08-02 00:11:09.719819145 +0800
-@@ -0,0 +1,11 @@
-+#!/bin/bash
-+
-+DST=../linux-3.2.0
-+SRC=../tags
-+
-+cd $DST 
-+
-+for f in $SRC/*
-+do
-+    ln -s $f `basename $f`
-+done
diff --git a/ok335xD/linux-bsp/tarballs/sym_linux_tag.sh b/ok335xD/linux-bsp/tarballs/sym_linux_tag.sh
new file mode 100755
index 0000000..2bf6150
--- /dev/null
+++ b/ok335xD/linux-bsp/tarballs/sym_linux_tag.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+PWD=`pwd`
+DST=../linux-3.2.0
+SRC=../`basename $PWD`
+
+cd $DST 
+
+# rm -f cscope.* tags 
+
+if [ -s tags ] ; then
+    echo "ctags already exist, exit now..."
+    exit 0;
+fi
+
+ln -s $SRC/tags 
+
+for f in $SRC/cscope*
+do
+    ln -s $f 
+done 
+
+
+

--
Gitblit v1.9.1