The realtime test suite has some architecture specific code in it,
and results in build errors on those not supported.
This makes it build only for the architectures supported.

Martin

        Signed-off-by: Martin Habets <[EMAIL PROTECTED]>

Index: ltp/testcases/realtime/Makefile
===================================================================
--- ltp.orig/testcases/realtime/Makefile        2008-04-27 13:28:34.000000000 
+0100
+++ ltp/testcases/realtime/Makefile     2008-04-27 13:28:49.000000000 +0100
@@ -2,7 +2,11 @@
 srcdir := .
 include $(srcdir)/config.mk
 
-SUBDIRS = lib func perf stress
+ARCH = $(shell uname -m)
+SUBDIRS =
+ifneq ($(findstring $(ARCH),86 ppc),)
+SUBDIRS += lib func perf stress
+endif
 
 all:
        @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to