Index: uspace/srv/hid/kbd/Makefile
===================================================================
--- uspace/srv/hid/kbd/Makefile	(revision 9c2b2a8c3ce5002f3280a99e904f2889691d750b)
+++ uspace/srv/hid/kbd/Makefile	(revision b1bdc7a40ece021baf719fb60fce641c683e3401)
@@ -49,9 +49,21 @@
 	layout/cz.c \
 	layout/us_qwerty.c \
-	layout/us_dvorak.c
+	layout/us_dvorak.c \
+	port/adb.c \
+	port/chardev.c \
+	port/dummy.c \
+	port/gxemul.c \
+	port/msim.c \
+	port/niagara.c \
+	port/ns16550.c \
+	port/pl050.c \
+	port/sgcn.c \
+	port/ski.c \
+	port/sun.c \
+	port/z8530.c
+
 
 ifeq ($(UARCH),amd64)
 	SOURCES += \
-		port/chardev.c \
 		ctl/pc.c
 endif
@@ -60,11 +72,7 @@
 	ifeq ($(MACHINE),gta02)
 		SOURCES += \
-			port/chardev.c \
 			ctl/stty.c
 	endif
 	ifeq ($(MACHINE),testarm)
-		SOURCES += \
-			port/gxemul.c
-		
 		ifeq ($(CONFIG_FB),y)
 			SOURCES += \
@@ -77,5 +85,4 @@
 	ifeq ($(MACHINE),integratorcp)
 		SOURCES += \
-			port/pl050.c \
 			ctl/pc.c
 	endif
@@ -84,5 +91,4 @@
 ifeq ($(UARCH),ia32)
 	SOURCES += \
-		port/chardev.c \
 		ctl/pc.c
 endif
@@ -90,5 +96,4 @@
 ifeq ($(MACHINE),i460GX)
 	SOURCES += \
-		port/chardev.c \
 		ctl/pc.c
 endif
@@ -96,5 +101,4 @@
 ifeq ($(MACHINE),ski)
 	SOURCES += \
-		port/ski.c \
 		ctl/stty.c
 endif
@@ -102,12 +106,8 @@
 ifeq ($(MACHINE),msim)
 	SOURCES += \
-		port/msim.c \
 		ctl/stty.c
 endif
 
 ifeq ($(MACHINE),lgxemul)
-	SOURCES += \
-		port/gxemul.c
-	
 	ifeq ($(CONFIG_FB),y)
 		SOURCES += \
@@ -120,7 +120,4 @@
 
 ifeq ($(MACHINE),bgxemul)
-	SOURCES += \
-		port/gxemul.c
-	
 	ifeq ($(CONFIG_FB),y)
 		SOURCES += \
@@ -134,5 +131,4 @@
 ifeq ($(UARCH),ppc32)
 	SOURCES += \
-		port/adb.c \
 		ctl/apple.c
 endif
@@ -141,18 +137,13 @@
 	ifeq ($(PROCESSOR),sun4v)
 		SOURCES += \
-			port/niagara.c \
 			ctl/stty.c
 	else
 		ifeq ($(MACHINE),serengeti)
 			SOURCES += \
-				port/sgcn.c \
 				ctl/stty.c
 		endif
 		ifeq ($(MACHINE),generic)
 			SOURCES += \
-			port/sun.c \
-			port/z8530.c \
-			port/ns16550.c \
-			ctl/sun.c
+				ctl/sun.c
 		endif
 	endif
@@ -161,5 +152,4 @@
 ifeq ($(UARCH),abs32le)
 	SOURCES += \
-		port/dummy.c \
 		ctl/pc.c
 endif
