This patch should solve the problem of RT Linux Compilation Failure on various Architectures. It just avoids the compilation of realtime tests on a non (x86,ppc) arch. Assumption: uname -m doesn't contain 86/ppc on any arch except the x86 and ppc. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>
diff --git a/testcases/Makefile b/testcases/Makefile
index 0a2e9c0..68fad61 100644
--- a/testcases/Makefile
+++ b/testcases/Makefile
@@ -1,6 +1,10 @@
-SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open | grep -v pounder | grep -v DOTS | grep -v kdump` 
-UCLINUX_SUBDIRS = kernel
+ifeq ($(shell uname -m |grep -c -e "86" -e "ppc"), 1) 
+	SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open | grep -v pounder | grep -v DOTS | grep -v kdump ` 
+else	
+	SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open | grep -v pounder | grep -v DOTS | grep -v kdump | grep -v realtime` 
+endif
 
+UCLINUX_SUBDIRS = kernel
 all:
 	@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done