summaryrefslogtreecommitdiff
path: root/mkconfig
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-03 14:26:46 +0000
committerwdenk <wdenk>2005-04-03 14:26:46 +0000
commit86c9888207b0d5b9632c4ed7a61fd09b81bb618c (patch)
tree7fac14580807776783cc27c9b738ebfdc2d71f32 /mkconfig
parent59acc296d97b7262b64be8bc23b12c47b4fdd7e6 (diff)
downloadu-boot-imx-86c9888207b0d5b9632c4ed7a61fd09b81bb618c.zip
u-boot-imx-86c9888207b0d5b9632c4ed7a61fd09b81bb618c.tar.gz
u-boot-imx-86c9888207b0d5b9632c4ed7a61fd09b81bb618c.tar.bz2
Patch by Steven Scholz, 03 Apr 2005:
- create SoC specific directories include/asm-arm/arch-imx and include/asm-arm/arch-s3c24x0
Diffstat (limited to 'mkconfig')
-rw-r--r--mkconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/mkconfig b/mkconfig
index 266addd..e366267 100644
--- 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