Index: uspace/srv/fb/Makefile
===================================================================
--- uspace/srv/fb/Makefile	(revision e55571317c3b62308d58f97fb8f2aa78c6fd7aa4)
+++ uspace/srv/fb/Makefile	(revision 965dc18d04fb8a15431d34485959f4aa8e6ec4b5)
@@ -66,6 +66,12 @@
 endif
 ifeq ($(ARCH), mips32)
-	SOURCES += msim.c
+	SOURCES += msim.c \
+                   serial_console.c
 	CFLAGS += -DMSIM_ENABLED -DFB_INVERT_ENDIAN
+endif
+ifeq ($(ARCH), sparc64)
+	SOURCES += sgcn.c \
+	           serial_console.c
+	CFLAGS += -DSGCN_ENABLED
 endif
 
