[maemo-commits] [maemo-commits] r9093 - projects/haf/branches/gtk+/maemo-gtk-2-10/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Jan 15 17:10:42 EET 2007
Author: tko
Date: 2007-01-15 17:10:38 +0200 (Mon, 15 Jan 2007)
New Revision: 9093

Modified:
   projects/haf/branches/gtk+/maemo-gtk-2-10/debian/changelog
   projects/haf/branches/gtk+/maemo-gtk-2-10/debian/rules
Log:
    - Prefer HW floating points (via DEB_BUILD_OPTIONS=vfp)


Modified: projects/haf/branches/gtk+/maemo-gtk-2-10/debian/changelog
===================================================================
--- projects/haf/branches/gtk+/maemo-gtk-2-10/debian/changelog	2007-01-15 15:05:29 UTC (rev 9092)
+++ projects/haf/branches/gtk+/maemo-gtk-2-10/debian/changelog	2007-01-15 15:10:38 UTC (rev 9093)
@@ -2,7 +2,11 @@
 
   * NOT RELEASED YET
 
-  * debian/rules: do not install .cvsignore files in gtk2.0-examples package
+  * debian/rules:
+    - do not install .cvsignore files in gtk2.0-examples package
+    - Prefer HW floating points (via DEB_BUILD_OPTIONS=vfp)
+  * debian/control: Build-Depend on libtool >= 1.5.12 to handle four digits in
+    version
 
  -- Tommi Komulainen <tommi.komulainen at nokia.com>  Mon, 15 Jan 2007 16:56:35 +0200
 

Modified: projects/haf/branches/gtk+/maemo-gtk-2-10/debian/rules
===================================================================
--- projects/haf/branches/gtk+/maemo-gtk-2-10/debian/rules	2007-01-15 15:05:29 UTC (rev 9092)
+++ projects/haf/branches/gtk+/maemo-gtk-2-10/debian/rules	2007-01-15 15:10:38 UTC (rev 9093)
@@ -21,10 +21,15 @@
 	CFLAGS += -O2
 endif
 
-# Use soft-float and thumb mode if it enabled. 
+# Prefer hardware floating point if enabled
+ifneq (,$(findstring vfp,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -mfpu=vfp -mfloat-abi=softfp
+else
+# Use soft-float and thumb mode if it enabled.
 ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -mthumb
 endif
+endif
 
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s


More information about the maemo-commits mailing list