Patch by Steven Scholz, 03 Apr 2005:
- create SoC specific directories include/asm-arm/arch-imx and
  include/asm-arm/arch-s3c24x0
diff --git a/mkconfig b/mkconfig
index 266addd..e366267 100644
--- a/mkconfig
+++ b/mkconfig
@@ -31,7 +31,12 @@
 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