2006-04-26 15:08:19 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
if [ x"$1" = x ]; then
|
2009-01-18 10:14:58 +00:00
|
|
|
printf "Usage:\n $0 [arch-config]\n"
|
|
|
|
|
printf "arch-config values supported for native builds:\n"
|
|
|
|
|
printf " amd64, ppc, sparc32, sparc64, x86\n"
|
|
|
|
|
printf "arch-config values supported for cross compiled builds:\n"
|
|
|
|
|
printf " cross-ppc, cross-sparc32, cross-sparc64, cross-x86\n"
|
2006-04-26 15:08:19 +00:00
|
|
|
exit 0
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
ARCH=$1
|
|
|
|
|
|
2006-07-23 14:22:39 +00:00
|
|
|
rm -f rules.xml
|
|
|
|
|
rm -f config.xml
|
2006-04-26 15:08:19 +00:00
|
|
|
ln -s config/examples/${ARCH}_rules.xml rules.xml
|
|
|
|
|
ln -s config/examples/${ARCH}_config.xml config.xml
|