1 Apr 2008 11:50
Re: Reg: LTP Latest Release.
On Tue, Apr 01, 2008 at 03:07:14PM +0530, Chirag Jog wrote: > Hi Subrata, > This patch should solve the problem for now. No, sorry, this is crap. > 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@...> > > diff --git a/testcases/Makefile b/testcases/Makefile > index 0a2e9c0..68fad61 100644 > --- a/testcases/Makefile > +++ b/testcases/Makefile > <at> <at> -1,6 +1,10 <at> <at> > -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) rsc <at> thebe:~$ uname -m i686 I cross compile for ARM - what now? A fix has to take care of the cross scenario! Robert -- -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
RSS Feed