Index: kernel/Makefile
===================================================================
--- kernel/Makefile	(revision fa24efa71b4a16342f94d5f63ee75d9242a727c6)
+++ kernel/Makefile	(revision c2a698383608df44fde7e7cb4047a416d8688eee)
@@ -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)
