From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Vladimir Oltean <olteanv@gmail.com>
Cc: buildroot@buildroot.org, Ioana Ciornei <ciorneiioana@gmail.com>,
Brandon Maier <Brandon.Maier@collins.com>,
Vincent Jardin <vjardin@free.fr>, Julien Olivain <ju.o@free.fr>,
Romain Naour <romain.naour@smile.fr>,
Akhilesh Nema <nemaakhilesh@gmail.com>
Subject: Re: [Buildroot] [PATCH v2 14/18] package/qoriq-mc-binary: new package
Date: Tue, 22 Apr 2025 23:17:03 +0200 [thread overview]
Message-ID: <20250422231703.3704461b@windsurf> (raw)
In-Reply-To: <20250328180427.3434693-15-olteanv@gmail.com>
Hello Vladimir,
On Fri, 28 Mar 2025 20:04:22 +0200
Vladimir Oltean <olteanv@gmail.com> wrote:
> Add a package which deploys the NXP MC (Management Complex) firmware
> to the target. This is necessary for NXP DPAA2 SoCs (LS1088A, LS2080A,
> LS2088A, LX2160A).
[...]
Thanks for the patch, which I have applied, after doing one small
change, see below.
> +QORIQ_MC_BINARY_VERSION = 10.39.0
> +QORIQ_MC_BINARY_SITE = $(call github,nxp-qoriq,qoriq-mc-binary,mc_release_$(QORIQ_MC_BINARY_VERSION))
> +QORIQ_MC_BINARY_LICENSE = NXP Binary EULA
> +QORIQ_MC_BINARY_LICENSE_FILES = LICENSE
> +QORIQ_MC_BINARY_INSTALL_IMAGES = YES
> +ifeq ($(BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_INSTALL_PATH),)
> +QORIQ_MC_BINARY_INSTALL_TARGET = NO
> +endif
This condition would never be true, because
$(BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_INSTALL_PATH) is never empty. Even
when the Kconfig option is left empty,
$(BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_INSTALL_PATH) value is "", which
is why we have qstrip.
> +QORIQ_MC_BINARY_PLATFORM = $(call qstrip,$(BR2_QORIQ_MC_BINARY_PLATFORM))
> +QORIQ_MC_BINARY_SUBDIR = $(call qstrip,$(BR2_QORIQ_MC_BINARY_SUBDIR))
> +QORIQ_MC_BINARY_BIN = mc_$(QORIQ_MC_BINARY_PLATFORM)_$(QORIQ_MC_BINARY_VERSION).itb
> +QORIQ_MC_BINARY_INSTALL_PATH = $(call qstrip,$(BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_INSTALL_PATH))
So I moved this condition here, testing on QORIQ_MC_BINARY_INSTALL_PATH
instead, which achieves correct behavior.
Thanks a lot!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-04-22 21:17 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-28 18:04 [Buildroot] [PATCH v2 00/18] Layerscape uprev to lf-6.12.3-1.0.0, initial LX2160A-RDB support Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 01/18] configs/ls1046a-frwy: enable the fmc package and dependencies Vladimir Oltean
2025-04-12 14:21 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 02/18] configs/ls1046a-rdb: " Vladimir Oltean
2025-04-12 14:21 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 03/18] configs/ls1043a-rdb: " Vladimir Oltean
2025-04-12 14:22 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 04/18] package/qoriq-cadence-dp-firmware: sync with NXP Yocto download site Vladimir Oltean
2025-04-13 9:44 ` Julien Olivain
2025-04-14 9:11 ` Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 05/18] configs/ls1028ardb: update to lf-6.12.3-1.0.0 tag Vladimir Oltean
2025-04-13 9:45 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 06/18] configs/ls1046a-frwy: bump BSP tag to lf-6.12.3-1.0.0 Vladimir Oltean
2025-04-13 9:46 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 07/18] configs/ls1046a-rdb: " Vladimir Oltean
2025-04-13 9:46 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 08/18] configs/ls1043a-rdb: " Vladimir Oltean
2025-04-13 9:47 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 09/18] package/qoriq-rcw: bump " Vladimir Oltean
2025-04-13 9:47 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 10/18] package/fmlib: uprev " Vladimir Oltean
2025-04-13 9:48 ` Julien Olivain
2025-04-14 9:13 ` Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 11/18] package/fmc: uprev to lf-6.12 Vladimir Oltean
2025-04-13 9:48 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 12/18] package/qoriq-fm-ucode: uprev to lf-6.12.3-1.0.0 Vladimir Oltean
2025-04-13 9:49 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 13/18] package/qoriq-ddr-phy-binary: new package Vladimir Oltean
2025-04-13 14:04 ` Julien Olivain
2025-03-28 18:04 ` [Buildroot] [PATCH v2 14/18] package/qoriq-mc-binary: " Vladimir Oltean
2025-04-22 21:17 ` Thomas Petazzoni via buildroot [this message]
2025-03-28 18:04 ` [Buildroot] [PATCH v2 15/18] package/qoriq-mc-utils: " Vladimir Oltean
2025-04-22 21:31 ` Thomas Petazzoni via buildroot
2025-03-28 18:04 ` [Buildroot] [PATCH v2 16/18] package/qoriq-restool: " Vladimir Oltean
2025-04-22 21:36 ` Thomas Petazzoni via buildroot
2025-04-24 12:01 ` Vladimir Oltean
2025-03-28 18:04 ` [Buildroot] [PATCH v2 17/18] package/qoriq-firmware-inphi: " Vladimir Oltean
2025-04-22 21:39 ` Thomas Petazzoni via buildroot
2025-03-28 18:04 ` [Buildroot] [PATCH v2 18/18] board/lx2160ardb: new platform Vladimir Oltean
2025-03-29 2:09 ` Vincent Jardin
2025-03-31 10:39 ` Vladimir Oltean
2025-03-31 21:11 ` Vincent Jardin
2025-04-01 8:14 ` Vladimir Oltean
2025-04-02 21:38 ` Vincent Jardin
2025-04-22 21:48 ` Thomas Petazzoni via buildroot
2025-04-22 21:45 ` Thomas Petazzoni via buildroot
2025-05-17 17:35 ` Vladimir Oltean
2025-05-18 15:41 ` Vincent Jardin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250422231703.3704461b@windsurf \
--to=buildroot@buildroot.org \
--cc=Brandon.Maier@collins.com \
--cc=ciorneiioana@gmail.com \
--cc=ju.o@free.fr \
--cc=nemaakhilesh@gmail.com \
--cc=olteanv@gmail.com \
--cc=romain.naour@smile.fr \
--cc=thomas.petazzoni@bootlin.com \
--cc=vjardin@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox