Index: kernel/Makefile
===================================================================
--- kernel/Makefile	(revision b0c2075a579bc0b7840d9dd5002780f078d9c041)
+++ kernel/Makefile	(revision 6749febbf14fcee65590d678af2d7f90b8921903)
@@ -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)
