[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strace
Subject:    Re: I: ioctl command parser now takes all 32 bits of ioctl commands into account
From:       Christopher Covington <cov () codeaurora ! org>
Date:       2015-01-29 17:32:25
Message-ID: 54CA6EA9.7030905 () codeaurora ! org
[Download RAW message or body]

On 01/28/2015 09:59 PM, Dmitry V. Levin wrote:
> Hi Chris,
> 
> On Wed, Jan 28, 2015 at 05:40:04PM -0500, Christopher Covington wrote:
> [...]
>> Since commit df7aa2b19e6f69c19fbe09180bf1ec4fb52e2615 we've not been able to
>> get a cross compilation to work without modifying the makefile. I'm not sure
>> if this is what you intended, but generally, we've been overriding
>> ioctlsort_VAR makefile variables by specifying them on the right hand side of
>> the make invocation. However there is one variable, ioctlsort_CPPFLAGS which
>> is a superset of AM_CPPFLAGS, which we want to keep, and CPPFLAGS, which we
>> want to override (maybe with an empty string, I don't recall at the moment).
>> Would it be possible to in the place of CPPFLAGS introduce an intermediate
>> variable, such as ioctlsort_OVERRIDEABLE_CPPFLAGS, initially set to CPPFLAGS
>> but potentially overridden by (right hand side) command line arguments to make?
> 
> Would it be better than the current definition of ioctlsort_CPPFLAGS?
> 
> The same effect can be achieved by passing
> 'ioctlsort_CPPFLAGS=$(AM_CPPFLAGS)' to the make invocation.

Ah, yes, that works fine. Thanks!

Chris

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic