[oe] [PATCH v2] strace_4.5.20.bb: Fix build on mips{, el} when DISTRO_FEATURES lacks "largefile".

Andreas Oberritter obi at opendreambox.org
Tue Nov 23 12:44:58 UTC 2010


On 11/23/2010 01:37 PM, Andreas Oberritter wrote:
> On 11/23/2010 04:27 AM, Graham Gower wrote:
>> diff --git a/recipes/strace/strace_4.5.20.bb b/recipes/strace/strace_4.5.20.bb
>> index 873ce52..086a4d7 100644
>> --- a/recipes/strace/strace_4.5.20.bb
>> +++ b/recipes/strace/strace_4.5.20.bb
>> @@ -4,9 +4,13 @@ LICENSE = "GPL"
>>  PR = "r0"
>>  
>>  DEFAULT_PREFERENCE = "-1"
>> +DEFAULT_PREFERENCE_mips = "1"
>> +DEFAULT_PREFERENCE_mipsel = "1"
>>  
>>  SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.bz2 \
>>            "
>> +SRC_URI_append_mipsel += " file://mips-nolargefile.patch "
>> +SRC_URI_append_mips += " file://mips-nolargefile.patch "
> 
> I think it would be better to apply this patch unconditionally, because
> it doesn't impose negative effects on other archs, and future patches
> which might only get compile-tested on other archs must make sure that
> mips-nolargefile.patch still applies.

Albeit, the correct syntax would be:
SRC_URI_append_mipsel = " file://mips-nolargefile.patch"





More information about the Openembedded-devel mailing list