equal
deleted
inserted
replaced
55 showhelp |
55 showhelp |
56 exit 0 |
56 exit 0 |
57 ;; |
57 ;; |
58 |
58 |
59 --debug) |
59 --debug) |
60 PARAM="$PARAM DEBUG=1" |
60 DEBUG_SET=1 |
|
61 ITEM="DEBUG" |
|
62 ;; |
|
63 --debug=*) |
|
64 handle "DEBUG" $n |
61 ;; |
65 ;; |
62 --profile) |
66 --profile) |
63 PARAM="$PARAM PROFILE=1" |
67 PARAM="$PARAM PROFILE=1" |
64 ;; |
68 ;; |
65 --revision=*) |
69 --revision=*) |
224 ;; |
228 ;; |
225 esac |
229 esac |
226 PARAM="$PARAM BYPASS_OS_DETECT=1" |
230 PARAM="$PARAM BYPASS_OS_DETECT=1" |
227 fi |
231 fi |
228 |
232 |
229 rm Makefile.config |
233 if ! test -z "$DEBUG_SET" |
|
234 then |
|
235 if test -z "`echo $PARAM | grep "DEBUG="`" |
|
236 then |
|
237 # Someone did --debug, without assigning a value, assume 1 |
|
238 PARAM="$PARAM DEBUG=1" |
|
239 fi |
|
240 fi |
|
241 |
|
242 # First remove the Makefile.config, else you can have double entries |
|
243 if test -e "Makefile.config" |
|
244 then |
|
245 rm -f Makefile.config |
|
246 fi |
|
247 |
230 make upgradeconf $PARAM |
248 make upgradeconf $PARAM |
231 |
249 |
232 # Makefile.config currently doesn't support custom CXX, so, we add the line |
250 # Makefile.config currently doesn't support custom CXX, so, we add the line |
233 # ourself! |
251 # ourself! |
234 |
252 |