From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7030828924489695232 X-Received: by 2002:a2e:8991:: with SMTP id c17mr37978267lji.361.1636992642643; Mon, 15 Nov 2021 08:10:42 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:1687:: with SMTP id bd7ls2305631ljb.10.gmail; Mon, 15 Nov 2021 08:10:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVxrZErbah0eK9yDlOpEs/hOY/3a6f9MAY/zMDZETz12ClYi42g2YSOXIlyaFIL5He/LOB X-Received: by 2002:a2e:144a:: with SMTP id 10mr33578476lju.75.1636992641512; Mon, 15 Nov 2021 08:10:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636992641; cv=none; d=google.com; s=arc-20160816; b=iBZbxG5LyYjiqHH5xfGOInfm7zJi71r4CM/upRSoxj5AFO0jZiA5pGK0VnYs9eNI8I DAQhLyhoAjZmfn/2l/8x8/do9i4UEsZs+vPY9eoKaSPKN9rPaXEQ1/vNroBufl2w9Nxo BJvrH+Qh557CXD6yX07FJbR4GXw9D6lU95xLA5ooxHf+/kBM0qgMHE7TelpSTYEqbgcU 2KF6ZV6wtC9Iyek5fzvLsEYxmwMtW1eXhGYoPHCJvwJBQdbAEMjSzmUKRtytYdLcSbcJ F7sAzdCO4nVS0TZMQD0UEYtf+TJC+OEWzZRSVI0TJBAZWebE3UE6yqo8yXKFwj0Y6kel r6Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=0EZm/02i4TGWDPeZF6F2JRjMIauvehs7/sqx838BSlg=; b=mJiraDohz68BOXfUafKeFysTE9SISwJ02jBkZbI97jZzdO4rj7UK+YqS+liX3W7xHS zaaka6RMb1HAlrSy88fI5qYao36QVEV2OgH/jN7sNQG3EzMEPCg1vKkUiQZ5HGLJQK9K ru0V3G+Ty4/rPGnPmYJrLn2ekqWDmx2UZVwtkbZVJ9lUj01b7GxGUH5dHo3LOYwMUcB1 lPRNcjSXLObUhmzeDxIQGEdXYyheFtcPoaRf6JtHasAYO6pg9qmCwFOlU6PxnpEB2t9x lh0bRyNe3MNzVhi6V7Or0YvgomKq+6Mcfuj2r/k2C/hAz5K7sJVvBfbDp1Alk/VIBifO AtHg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NnlzbouZ; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com. [2a00:1450:4864:20::335]) by gmr-mx.google.com with ESMTPS id g21si629378lfv.11.2021.11.15.08.10.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Nov 2021 08:10:41 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) client-ip=2a00:1450:4864:20::335; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NnlzbouZ; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-wm1-x335.google.com with SMTP id f7-20020a1c1f07000000b0032ee11917ceso237723wmf.0 for ; Mon, 15 Nov 2021 08:10:41 -0800 (PST) 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=0EZm/02i4TGWDPeZF6F2JRjMIauvehs7/sqx838BSlg=; b=NnlzbouZMoRErbxCJoTdepS7FqNAhxjBB2eWQE6zTIpHhUbxkN2R+G7gxcxJU/Z1lP PCOCSp191b61z4l366uBwFRgIyrb2FjN1nRDShIuncYfB8vsejj0sCtJiLw0WvnQNQV/ N2eg94yGPjz20Ne166UQbOo0hdv4qY5Sn8Hz3yB1DXONS3F2ppqcwkHdXPfXfviGhKjP nKWP9AlZ9fnTh5JcvxAndHe7NLYDqNX5E03UtM7zieMuigWFr5jMf6duEB2r4j7XvQjH s4F7cFux4fI+M74Ry9mzNFdBRgxp5ssOkdMuglNYbujjQh46LINyJ4tu9OnHBpU46LUf 3DWw== 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=0EZm/02i4TGWDPeZF6F2JRjMIauvehs7/sqx838BSlg=; b=3a+erEX9lzZ0vQHqjsNliODPM5bmEFHOg4WKEU1K2AI2rQBkCfNdqA0Qqu0c2mSran 2+j6R/5OGcMbw65Aq3YPq8imPWJ6aBZhmnfqx6WfX6A6uCfJ5HxPGJEK/lcmKGavS+Kr ZK02cVuMRAk5b7x1N6/iKkmd22VBeE4w7jliSGrpGDeYaBFOdCmC+N5pLWa/PHswVIWN mL886vXT+puJIij3wbkMFTnQuFVLWWWG+p1fSd2GGHhVRys7l77PgNmWyFBb+k1FxtEp QihPTGsW04PlIbzQQ/767UY4EMzhzQa4deAJPTg1V9eAIUNr8KEb2YaSV/CqjeYmkbsn t/mA== X-Gm-Message-State: AOAM533U4fsS/6vVo3/wUrZ8pP7OTOBxtunVQijfdbdwzAK5TQ5CkcT9 m/SYUlNcVGsuphkBtV1s8CeGntXsTZtrO6rv2tYrjjSvf8bDww== X-Received: by 2002:a7b:c409:: with SMTP id k9mr44086367wmi.173.1636992641094; Mon, 15 Nov 2021 08:10:41 -0800 (PST) MIME-Version: 1.0 References: <20211115160642.765371-1-Vijaikumar_Kanagarajan@mentor.com> In-Reply-To: <20211115160642.765371-1-Vijaikumar_Kanagarajan@mentor.com> From: vijai kumar Date: Mon, 15 Nov 2021 21:40:30 +0530 Message-ID: Subject: Re: [RFC PATCH 0/2] U-boot refactor To: Vijai Kumar K Cc: isar-users Content-Type: text/plain; charset="UTF-8" X-TUID: pSOe/EW3E7ty On Mon, Nov 15, 2021 at 9:37 PM Vijai Kumar K wrote: > > Hi, > > This series refactors u-boot recipe to build selective packages > based on DEB_BUILD_PROFILES. > > This solves 2 problems(kind of related). > > 1. Tools were always built irrespective of whether we ship them or not. > 2. libssl-dev package is needed only when we cross compile tools. > Having this change, makes sure the dependency is only included when > it is actually needed. > > P1 drops the U_BOOT_TOOLS_PACKAGE variable and introduces > U_BOOT_BUILD_PROFILES in which we can specify which package to > build(tools, dev, config). > > P2 makes sure libssl-dev is included only when it is needed. Ah. This already needs V2. Need to take care of the below line u-boot-custom.inc:13:PROVIDES += "${@'u-boot-tools' if d.getVar('U_BOOT_TOOLS_PACKAGE') == '1' else ''}" Will wait for review comments and club the changes, if any. Thanks, Vijai Kumar K > > > Thanks, > Vijai Kumar K > > > Vijai Kumar K (2): > u-boot: Switch to use DEB_BUILD_PROFILES > meta/u-boot: Include libssl-dev only when building tools > > .../u-boot/u-boot-de0-nano-soc_2021.10.bb | 3 +- > .../u-boot/u-boot-stm32mp15x_2021.10.bb | 2 ++ > .../u-boot/files/debian/control.tmpl | 13 ++++++++ > meta/recipes-bsp/u-boot/files/debian/rules | 9 +++++- > meta/recipes-bsp/u-boot/u-boot-custom.inc | 32 ++++++------------- > 5 files changed, 34 insertions(+), 25 deletions(-) > > -- > 2.25.1 > > -- > You received this message because you are subscribed to the Google Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20211115160642.765371-1-Vijaikumar_Kanagarajan%40mentor.com.