author | zecke <zecke> | 2002-06-21 11:18:31 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-21 11:18:31 (UTC) |
commit | 3be39e6c8af27a43d4b09bf08b4c739c342b5de3 (patch) (unidiff) | |
tree | d543a53a003ac69ac38f365ffd2a67499e3fa3d5 /configure | |
parent | da8fdc855382e3b6e945aa1aeb429e5737e0792d (diff) | |
download | opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.zip opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.gz opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.bz2 |
fix the makefile
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -243,51 +243,51 @@ EOF | |||
243 | # For x86 use intel optimizations | 243 | # For x86 use intel optimizations |
244 | *x86*) | 244 | *x86*) |
245 | PLATFORM_CFLAGS="-DFPM_INTEL" | 245 | PLATFORM_CFLAGS="-DFPM_INTEL" |
246 | # For the ipaq use ARM asm optimizations | 246 | # For the ipaq use ARM asm optimizations |
247 | ;; *ipaq*|*sharp*) | 247 | ;; *ipaq*|*sharp*) |
248 | PLATFORM_CFLAGS="-DFPM_ARM" | 248 | PLATFORM_CFLAGS="-DFPM_ARM" |
249 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" | 249 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
250 | # For generic platforms use the C 64-bit implementation | 250 | # For generic platforms use the C 64-bit implementation |
251 | ;; *generic*) | 251 | ;; *generic*) |
252 | PLATFORM_CFLAGS="-DFPM_64BIT" | 252 | PLATFORM_CFLAGS="-DFPM_64BIT" |
253 | # For 'other platforms' use the ARM code | 253 | # For 'other platforms' use the ARM code |
254 | ;; *) | 254 | ;; *) |
255 | PLATFORM_CFLAGS="-DFPM_ARM" | 255 | PLATFORM_CFLAGS="-DFPM_ARM" |
256 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" | 256 | SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;" |
257 | esac | 257 | esac |
258 | fi | 258 | fi |
259 | if [ -n "$PLATFORM_CFLAGS" ] | 259 | if [ -n "$PLATFORM_CFLAGS" ] |
260 | then | 260 | then |
261 | # Append the addition c-flags we have defined | 261 | # Append the addition c-flags we have defined |
262 | SED="$SED /CFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" | 262 | SED="$SED /CFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" |
263 | SED="$SED /CXXFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" | 263 | SED="$SED /CXXFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;" |
264 | fi | 264 | fi |
265 | cat $TARGET >> $N | 265 | cat $TARGET >> $N |
266 | if [ -n "$SED" ] | 266 | if [ -n "$SED" ] |
267 | then | 267 | then |
268 | sed -e "$SED" $M >> $N | 268 | sed -e "$SED" $M >> $N |
269 | else | 269 | else |
270 | cat $M >> $N | 270 | cat $M >> $N |
271 | fi | 271 | fi |
272 | 272 | ||
273 | cat >> $N <<EOF | 273 | cat >> $N <<EOF |
274 | 274 | ||
275 | lupdate: | 275 | lupdate: |
276 | lupdate $f.pro | 276 | lupdate $f.pro |
277 | 277 | ||
278 | lrelease: | 278 | lrelease: |
279 | lrelease $f.pro | 279 | lrelease $f.pro |
280 | 280 | ||
281 | EOF | 281 | EOF |
282 | if [ -f "$O" ] | 282 | if [ -f "$O" ] |
283 | then | 283 | then |
284 | cat >> $N $O | 284 | cat >> $N $O |
285 | fi | 285 | fi |
286 | 286 | ||
287 | done | 287 | done |
288 | 288 | ||
289 | MAKE=make | 289 | MAKE=make |
290 | echo | 290 | echo |
291 | echo "QPE is now configured for building. Just run $MAKE (or $MAKE single)." | 291 | echo "Opie is now configured for building. Just run $MAKE (or $MAKE single)." |
292 | echo "To reconfigure, run $MAKE clean and configure." | 292 | echo "To reconfigure, run $MAKE clean and configure." |
293 | echo | 293 | echo |