summaryrefslogtreecommitdiff
path: root/configure
authorzecke <zecke>2002-06-21 11:18:31 (UTC)
committer zecke <zecke>2002-06-21 11:18:31 (UTC)
commit3be39e6c8af27a43d4b09bf08b4c739c342b5de3 (patch) (unidiff)
treed543a53a003ac69ac38f365ffd2a67499e3fa3d5 /configure
parentda8fdc855382e3b6e945aa1aeb429e5737e0792d (diff)
downloadopie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.zip
opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.gz
opie-3be39e6c8af27a43d4b09bf08b4c739c342b5de3.tar.bz2
fix the makefile
Diffstat (limited to 'configure') (more/less context) (ignore whitespace changes)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index cfc4c39..7e9ab68 100755
--- a/configure
+++ b/configure
@@ -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
275lupdate: 275lupdate:
276 lupdate $f.pro 276 lupdate $f.pro
277 277
278lrelease: 278lrelease:
279 lrelease $f.pro 279 lrelease $f.pro
280 280
281EOF 281EOF
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
287done 287done
288 288
289MAKE=make 289MAKE=make
290echo 290echo
291echo "QPE is now configured for building. Just run $MAKE (or $MAKE single)." 291echo "Opie is now configured for building. Just run $MAKE (or $MAKE single)."
292echo "To reconfigure, run $MAKE clean and configure." 292echo "To reconfigure, run $MAKE clean and configure."
293echo 293echo