2008-07-06 11:51:30 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
|
|
|
@@ -187,6 +187,13 @@
|
2007-03-17 11:34:51 +00:00
|
|
|
--prefix=* | --install_prefix=* )
|
|
|
|
INSTALL_PREFIX=`echo $option | sed -e 's/[^=]*=//;'`
|
|
|
|
;;
|
|
|
|
+ --target=* )
|
|
|
|
+ TARGET=`echo $option | sed -e 's/[^=]*=//;'`
|
|
|
|
+ OPERATINGSYSTEM=`echo $TARGET | sed -e 's/.*-//;'`
|
|
|
|
+ MACHINE=`echo $TARGET | sed -e 's/-.*//;'`
|
|
|
|
+ VERSION=""
|
|
|
|
+ SYSTEM=${OPERATINGSYSTEM}-${MACHINE}
|
|
|
|
+ ;;
|
|
|
|
--trace )
|
|
|
|
EXTRA_DEFS="-DTRACEON"
|
|
|
|
;;
|
2008-07-06 11:51:30 +00:00
|
|
|
@@ -242,7 +249,7 @@
|
2007-03-17 11:34:51 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
- Linux* )
|
|
|
|
+ Linux* | linux* )
|
2008-07-06 11:51:30 +00:00
|
|
|
EXTRA_OBJECTS="sys_linux.o wrap_adjtimex.o"
|
|
|
|
if [ $feat_rtc -eq 1 ] ; then
|
|
|
|
EXTRA_OBJECTS+=" rtc_linux.o"
|