[OE-core] [PATCH] openssl_1.0: drop unnecessary dependency on makedepend-native

Andrej Valek andrej.valek at siemens.com
Wed Aug 1 07:44:32 UTC 2018


If you are pretty sure, that makedepend command will available after
makedepend-native package dropping, I am fine with that.

Cheers,
Andrej

On 07/31/18 15:34, Andre McCurdy wrote:
> On Tue, Jul 31, 2018 at 3:24 AM, Andrej Valek <andrej.valek at siemens.com> wrote:
>> This program is required for "oe_runmake depend" command. It runs
>> command in MAKEDEPPROG variable, which is set to makedepend. Makedepend
>> consists from makedepend-native package.
> 
> That's what you might guess from casually reading the Makefile. It's
> not what actually happens.
> 
>> Cheers,
>> Andrej
>>
>> On 07/31/18 12:08, Richard Purdie wrote:
>>> On Mon, 2018-07-30 at 18:28 -0700, Andre McCurdy wrote:
>>>> The openssl Configure script will only select standalone makedepend
>>>> (vs running "$CC -M") when building with gcc < 3.x or with an Apple
>>>> Xcode version which predates the switch to clang (in approx 2010?).
>>>> Neither of these cases are possible when building under OE, therefore
>>>> the dependency on makedepend-native can be dropped (ie align the
>>>> openssl 1.0 recipe with the 1.1 recipe, which has dropped the
>>>> makedepend-native dependency already).
>>>>
>>>> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
>>>> ---
>>>>  meta/recipes-connectivity/openssl/openssl_1.0.2o.bb | 2 +-
>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
>>>> b/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
>>>> index f5d3274..78c8552 100644
>>>> --- a/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
>>>> +++ b/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb
>>>> @@ -8,7 +8,7 @@ SECTION = "libs/network"
>>>>  LICENSE = "openssl"
>>>>  LIC_FILES_CHKSUM =
>>>> "file://LICENSE;md5=f475368924827d06d4b416111c8bdb77"
>>>>
>>>> -DEPENDS = "makedepend-native hostperl-runtime-native"
>>>> +DEPENDS = "hostperl-runtime-native"
>>>>  DEPENDS_append_class-target = " openssl-native"
>>>>
>>>>  PROVIDES += "openssl10"
>>>
>>> This was added quite 'recently' in:
>>>
>>> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=50c23e6c26a64b0c04e99abacb61ec00d1abace9
>>>
>>> I've cc'd Andrej in case he can tell us why that was needed?
>>>
>>> Cheers,
>>>
>>> Richard
>>>



More information about the Openembedded-core mailing list