Index: gcc-4.7-4.7.2.MAquilt/debian/rules.defs
===================================================================
--- gcc-4.7-4.7.2.MAquilt.orig/debian/rules.defs	2012-12-10 04:48:11.000000000 +0000
+++ gcc-4.7-4.7.2.MAquilt/debian/rules.defs	2012-12-10 18:08:30.000000000 +0000
@@ -214,7 +214,19 @@
 endif
 
 # -------------------------------------------------------------------
-# stage options
+# stage/build_profile options
+
+ifneq (,$(findstring stage1,$(DEB_BUILD_PROFILE)))
+  DEB_STAGE := stage1
+  DEB_CROSS_NO_BIARCH := yes
+endif
+
+ifneq (,$(findstring stage2,$(DEB_BUILD_PROFILE)))
+  DEB_STAGE := stage2
+  DEB_CROSS_NO_BIARCH := yes
+endif
+
+
 ifdef DEB_STAGE
   with_cdev := yes
   separate_lang := yes
