diff options
author | subrata_modak <subrata_modak> | 2008-04-06 09:34:59 +0000 |
---|---|---|
committer | subrata_modak <subrata_modak> | 2008-04-06 09:34:59 +0000 |
commit | a97580620059501441ba2788fc362e5c4b75dfcf (patch) | |
tree | 794817cf8151d5d7f96d1003dc030a69d3c57831 /testcases/Makefile | |
parent | 8b5fe936322bdbb67fa9139752fb16388b67f10c (diff) |
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>
Diffstat (limited to 'testcases/Makefile')
-rw-r--r-- | testcases/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testcases/Makefile b/testcases/Makefile index 0a2e9c0af..68fad616d 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 |