]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - mkconfig
Fix watchdog reset problems on LWMON board
[karo-tx-uboot.git] / mkconfig
index 266addd705dad02c302a3f313c0d506040d77197..e366267181696f7c777ae2f960adf6aaeb8d42e7 100644 (file)
--- a/mkconfig
+++ b/mkconfig
@@ -31,7 +31,12 @@ cd ./include
 rm -f asm
 ln -s asm-$2 asm
 rm -f asm-$2/arch
-ln -s arch-$3 asm-$2/arch
+
+if [ -z "$6" -o "$6" == "NULL" ] ; then
+       ln -s arch-$3 asm-$2/arch
+else
+       ln -s arch-$6 asm-$2/arch
+fi
 
 if [ "$2" = "arm" ] ; then
        rm -f asm-$2/proc