public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: David Marlin <dmarlin@redhat.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] running LTP on uClinux
Date: Tue, 17 Aug 2010 13:27:47 -0500	[thread overview]
Message-ID: <4C6AD4A3.50505@redhat.com> (raw)
In-Reply-To: <AANLkTimurpbzZtn50_UNh0SRWsBPNWDcCYpbinNPH4Gj@mail.gmail.com>


Garrett Cooper wrote:
> On Tue, Aug 17, 2010 at 8:58 AM, David Marlin <dmarlin@redhat.com> wrote:
>> 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?
> 
> It should be CPPFLAGS, and the definition should be in env_post.mk; I
> never had a UCLINUX infrastructure to test with, so this might have
> fallen between the cracks by accident about 8 months ago.
> 
> Let me know how this patch works for you.

The patch works for me.  Thank you.

I am now seeing some other UCLINUX related problems/questions with 
individual testcases, but will follow up in separate emails on those.


Thanks again,

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

      parent reply	other threads:[~2010-08-17 18:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C6AD4A3.50505@redhat.com \
    --to=dmarlin@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox