public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] running LTP on uClinux
@ 2010-08-17 15:58 David Marlin
  2010-08-17 16:31 ` Garrett Cooper
  0 siblings, 1 reply; 7+ messages in thread
From: David Marlin @ 2010-08-17 15:58 UTC (permalink / raw)
  To: ltp-list


I was building LTP to test a uClinux system, but encountered some
problems.  As far as I could tell UCLINUX=1 is not being passed to all
testcases when defined at the top level before running make.

   export UCLINUX=1
   make


I modified the following file and the build proceeded as expected:

--- include/mk/testcases.mk.orig     2010-04-01 01:23:08.000000000 -0500
+++ include/mk/testcases.mk     2010-07-01 17:38:10.240628708 -0500
@@ -53,3 +53,8 @@

  $(APICMDS_DIR) $(LIBLTP_DIR) $(abs_top_builddir)/$(TKI_DIR): %:
         mkdir -p "$@"
+
+ifeq ($(UCLINUX),1)
+CFLAGS                  += -D__UCLIBC__ -DUCLINUX
+endif


Has anyone else had to make similar changes in order to build LTP for
uClinux?


d.marlin



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-17 20:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-17 15:58 [LTP] running LTP on uClinux David Marlin
2010-08-17 16:31 ` Garrett Cooper
2010-08-17 16:42   ` Mike Frysinger
2010-08-17 19:51     ` Garrett Cooper
2010-08-17 19:58       ` Mike Frysinger
2010-08-17 20:06         ` Garrett Cooper
2010-08-17 18:27   ` David Marlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox