Index: kernel/Makefile
===================================================================
--- kernel/Makefile	(revision 550b4e03780e7c78c7808ea1a1011c123231918e)
+++ kernel/Makefile	(revision d79adb1cb373696e5e7934f4e7da7a170adc7779)
@@ -167,4 +167,10 @@
 
 ifeq ($(COMPILER),gcc_cross)
+	CFLAGS = $(GCC_CFLAGS)
+	DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
+	INSTRUMENTATION = -finstrument-functions
+endif
+
+ifeq ($(COMPILER),gcc_helenos)
 	CFLAGS = $(GCC_CFLAGS)
 	DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
