mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
Cc: Alejandro Vazquez <avazquez.dev@gmail.com>, ptxdist@pengutronix.de
Subject: Re: [ptxdist] How to add symbols to PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST
Date: Tue, 14 Jul 2026 08:11:04 +0200	[thread overview]
Message-ID: <alXS-OhiY-6hDyx3@pengutronix.de> (raw)
In-Reply-To: <CABDcavZdMksUXhtF2-dyNTiFUkmw4A8MGQ2e86oropiw7SPfQQ@mail.gmail.com>

On Mon, Jul 13, 2026 at 06:23:56PM +0200, Guillermo Rodriguez Garcia wrote:
> Hello,
> 
> Our BSP is currently defining:
> 
> TARGET_EXTRA_CFLAGS=-mtune=cortex-a7 -mfpu=neon-vfpv4
> 
> However this is causing us some trouble with TF-A, as the code
> generated by the toolchain contains NEON instructions, which makes it
> fail at runtime with "Undefined instruction" exceptions.
> 
> We could skip this for TF-A specifically by adding TARGET_EXTRA_CFLAGS
> to TF_A_WRAPPER_BLACKLIST.
> 
> But actually we'd like to do the same for all low level code,
> including kernel and bootloaders (U-Boot, OP-TEE). Since all of these
> already set <package>_WRAPPER_BLACKLIST to
> $(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST), the easiest and more robust way
> would be to add TARGET_EXTRA_CFLAGS to
> PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST itself. Is this possible?

Untested, but I think, you can create rules/pre/blacklist.make with:

PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST += TARGET_EXTRA_CFLAGS

to your BSP (any filename is fine as long as it is in rules/pre/ and has a
.make suffix).

Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  reply	other threads:[~2026-07-14  6:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-13 16:23 Guillermo Rodriguez Garcia
2026-07-14  6:11 ` Michael Olbrich [this message]
2026-07-14 18:22   ` Guillermo Rodriguez Garcia

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=alXS-OhiY-6hDyx3@pengutronix.de \
    --to=m.olbrich@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