[Armadeus-commitlog] SF.net SVN: armadeus:[873] trunk/target/linux/modules/fpga/podscript.sh
Brought to you by:
sszy
|
From: <Fa...@us...> - 2008-08-14 12:34:37
|
Revision: 873
http://armadeus.svn.sourceforge.net/armadeus/?rev=873&view=rev
Author: FabM
Date: 2008-08-14 12:34:46 +0000 (Thu, 14 Aug 2008)
Log Message:
-----------
[DRIVERS][POD] podscript without tree cmd
Modified Paths:
--------------
trunk/target/linux/modules/fpga/podscript.sh
Modified: trunk/target/linux/modules/fpga/podscript.sh
===================================================================
--- trunk/target/linux/modules/fpga/podscript.sh 2008-08-11 08:21:10 UTC (rev 872)
+++ trunk/target/linux/modules/fpga/podscript.sh 2008-08-14 12:34:46 UTC (rev 873)
@@ -25,17 +25,19 @@
line=""
-for i in `tree -fid $FPGADIR$PODDIR | grep -v "$PODDIR\$" | grep "$PODDIR"`
+for i in `ls $FPGADIR$PODDIR`
do
- echo $i
- IFS='/'
- name=(${i})
+ if [ -d $FPGADIR$PODDIR/$i ]
+ then
+ echo $i
+ name=$i
-echo """
-source \"drivers/armadeus/fpga/POD/${name[5]}/Kconfig\"
+ echo """
+source \"drivers/armadeus/fpga/POD/$name/Kconfig\"
""" >> "${FPGADIR}${PODDIR}/Kconfig"
- line="${line} ${name[5]}/"
+ line="${line} $name/"
+ fi;
done;
# fill Makefile
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|