From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
Cc: Alejandro Vazquez <avazquez.dev@gmail.com>, ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2] tf-a: new package for ARM trusted firmware A
Date: Thu, 13 Feb 2020 15:28:13 +0100 [thread overview]
Message-ID: <300df1f4-4c3f-0511-a726-19376db749ac@pengutronix.de> (raw)
In-Reply-To: <CABDcavb2owcSee=QDgkJo2iJcRKCRTNOh6HCu9xTkJFWhzYtMw@mail.gmail.com>
On 2/13/20 3:25 PM, Guillermo Rodriguez Garcia wrote:
> El jue., 13 feb. 2020 a las 14:30, Ahmad Fatoum
> (<a.fatoum@pengutronix.de>) escribió:
>>>> +# ----------------------------------------------------------------------------
>>>> +# Install
>>>> +# ----------------------------------------------------------------------------
>>>> +
>>>> +$(STATEDIR)/tf-a.install:
>>>> + @$(call targetinfo)
>>>> +ifeq ($(TF_A_ARTIFACTS_SRC),)
>>>> + $(warning TF_A_ARTIFACTS is empty. nothing to install.)
>>>> +else
>>>> + @install -m644 -D \
>>>> + --target-directory=$(PTXCONF_SYSROOT_TARGET)/usr/lib/firmware \
>>>
>>> This doesn't look right.
>>> Shouldn't the install stage install things to the package install
>>> directory only?
>>> And, in case you want to install something somewhere else, shouldn't
>>> the actual target directory at least be configurable?
>>> For example there is no /usr/lib/firmware in my platform.
>>
>> That's only in the sysroot for use by other rules (e.g. barebox embedding TF-A
>> on some i.MX8). It's not installed in the target rootfs.
>
> Ok but that's specific to that particular configuration, and the
> choice of directory also seems to be arbitrary.
You got to standardize on something. If this is good, a $(PTXCONF_SYSROOT_FIRMWARE)
might be a good thing to agree on.
> Does this belong in a generic rules file ?
How would that look like?
Cheers
Ahmad
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2020-02-13 14:28 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-12 16:40 Ahmad Fatoum
2020-02-13 12:59 ` Guillermo Rodriguez Garcia
2020-02-13 13:30 ` Ahmad Fatoum
2020-02-13 14:25 ` Guillermo Rodriguez Garcia
2020-02-13 14:28 ` Ahmad Fatoum [this message]
2020-02-13 14:32 ` Ahmad Fatoum
2020-02-13 14:35 ` Guillermo Rodriguez Garcia
2020-02-13 14:44 ` Ahmad Fatoum
2020-02-13 14:49 ` Ahmad Fatoum
2020-02-13 15:05 ` Guillermo Rodriguez Garcia
2020-02-13 15:08 ` Ahmad Fatoum
2020-02-13 15:24 ` Guillermo Rodriguez Garcia
2020-02-13 15:27 ` Ahmad Fatoum
2020-02-13 15:33 ` Guillermo Rodriguez Garcia
2020-02-14 10:57 ` Alex Vazquez
2020-02-14 13:19 ` Michael Olbrich
2020-02-19 10:10 ` Ahmad Fatoum
2020-02-17 16:25 ` Michael Tretter
2020-02-17 16:33 ` Guillermo Rodriguez Garcia
2020-02-18 7:35 ` Michael Olbrich
2020-02-18 9:02 ` Guillermo Rodriguez Garcia
2020-02-19 7:48 ` Michael Tretter
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=300df1f4-4c3f-0511-a726-19376db749ac@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=avazquez.dev@gmail.com \
--cc=guille.rodriguez@gmail.com \
--cc=ptxdist@pengutronix.de \
/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