From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C28DAC433F5 for ; Thu, 4 Nov 2021 09:44:57 +0000 (UTC) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by mx.groups.io with SMTP id smtpd.web10.9666.1636019089941353349 for ; Thu, 04 Nov 2021 02:44:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DJ+pp7Jl; spf=pass (domain: gmail.com, ip: 209.85.208.175, mailfrom: andrey.z@gmail.com) Received: by mail-lj1-f175.google.com with SMTP id r10so7322126ljj.11 for ; Thu, 04 Nov 2021 02:44:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FwT2D32Hgk+iA9IXQbs2SUyNqeD9ZuwuDMVZKumlU5w=; b=DJ+pp7JlHaJKA4aeWEm04ukQXp517GrwmFM8fkYPm/ojcCAEgNJNRwtuNdVpxtTpmg +9OpFcnRpHh3YLic49dAQUk/u71nSQyZvSZHVxgE1cGvmsuI7dJcClTlgjaF/6uJxtcm ADXKLi5HuFN1k+NQTtPJeu47RJU9EYkKFyH6svA5E1GB53+cLdDVNuf5cjVwRr1UpfSw vXIUhOY3uBx4FZDs/QzcAWI4mx0ctfjcuxER0UbM1msIlZT2zMK3g0nIApKX8MGBolPa mW2Jr94LpNh9amsuwgdJXxbvvB7UJt5unLvcomHbfLtlEJo1G6M/NiPxn3nNnKJ9h8eO viwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FwT2D32Hgk+iA9IXQbs2SUyNqeD9ZuwuDMVZKumlU5w=; b=MyVruXxWSzxXvArSO24Hv+tnintENITi8DXQW9VgfXghKESNPV4qOw8tJRGvjDfb1V htUOlZ7Pk2XSd6F9ba/zsnSVteCfTxazUCR5yDDayADhfggfW288as9/+JEwEUnjkfF1 X/FPUsMCCwLI6A7XULyCThy4Tz6KpxKUI0U9QaX6CAiQjdkf+05InP8GMpZhc4WTdT93 CaRCxoPakK6ADA/jR5qbBBQthHjqOCLdhj0jlWghDJC4xfg0P2hYys9FGzO3cvmK0Xps Y20tLD/feyyfQSejuEyVMDwC6cKAYNWD6EFxI43W1JvOGle9vlO3EFS9EnDGu7S9WXtW tZaA== X-Gm-Message-State: AOAM532w4WmX9BJXmgQJq4+Ll2cr4IPROBhd9HoYhQe8FfuvQ3+YxnkF VmSBHJktlsmNlNif61h/gwV/0Qed2cpv712i190= X-Google-Smtp-Source: ABdhPJxgOTGb34AoX3Sw/7Qz8fuaboi5RVPoFdAZvGrFBpgx5TH85TkIfs6B6mGbWQmufF8J4U9APwaoSLAqycOaf2U= X-Received: by 2002:a2e:9b44:: with SMTP id o4mr20824727ljj.159.1636019088098; Thu, 04 Nov 2021 02:44:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrey Zhizhikin Date: Thu, 4 Nov 2021 10:44:36 +0100 Message-ID: Subject: Re: [meta-freescale] #meta-freescale #hardknott Can't remove use-mainline-bsp from MACHINEOVERRIDES To: "Marek S?omiany" Cc: meta-freescale@lists.yoctoproject.org Content-Type: text/plain; charset="UTF-8" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 04 Nov 2021 09:44:57 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-freescale/message/24777 Hello Marek, On Thu, Nov 4, 2021 at 8:24 AM Marek S?omiany wrote: > > Hi, > I'm working on new board based on imx8m mini and in my MACHINEOVERRIDES in when checking `bitbake -e` I have following list: > aarch64:armv8a:use-mainline-bsp:my-machine-name > In machine config file I have following includes: > require conf/machine/include/imx-base.inc > require conf/machine/include/tune-cortexa53.inc > and the overrides config: > MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:" > Even after removing the dot and trying to specify full list of overrides, I still get use-mainline-bsp on the list, and by that mx8, mx8m and mx8mm are being removed by `MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp` > I have tried to grep through all meta layers I have but got no result. > I have following layers in my bblayers.conf: > meta > meta-poky > meta-yocto-bsp > meta-openembedded/meta-oe > meta-freescale > my-new-layer > What could be appending this use-mainline-bsp to my overrides? This machine override is added based on the BSP flavor that the distro layer sets. BSP flavor is defined as either "mainline" which consumes only OSS components, or "nxp" which adds NXP proprietary components. It is defined to "mainline" per default in [1], and every distro layer can set it in order to define which components are required and which BSP should be built. The definition of BSP flavor is also commented at the link provided. meta-freescale-distro layer provides both of BSP flavors, and if like in you case this layer is not included - BSP flavor is defaulted to "mainline". Please note, that MACHINEOVERRIDES like "mx8:mx8m:mx8mm" are NXP-specific ones, and if you're planning to use Mainline BSP - they should not be defined explicitly. > > Kind regards, > Marek > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#24776): https://lists.yoctoproject.org/g/meta-freescale/message/24776 > Mute This Topic: https://lists.yoctoproject.org/mt/86810959/3617192 > Mute #meta-freescale:https://lists.yoctoproject.org/g/meta-freescale/mutehashtag/meta-freescale > Mute #hardknott:https://lists.yoctoproject.org/g/meta-freescale/mutehashtag/hardknott > Group Owner: meta-freescale+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub [andrey.z@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > Link: [1]: https://github.com/Freescale/meta-freescale/blob/75cc53cc480f73d8dc97cf1b52c48fb874d16a97/conf/machine/include/imx-base.inc#L13 -- Regards, Andrey.