From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 14 Jul 2026 08:11:23 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wjWMV-003b2b-0F for lore@lore.pengutronix.de; Tue, 14 Jul 2026 08:11:23 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wjWMS-00086N-PW; Tue, 14 Jul 2026 08:11:20 +0200 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wjWMC-000868-NO for ptxdist@pengutronix.de; Tue, 14 Jul 2026 08:11:04 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 700E22021FD; Tue, 14 Jul 2026 08:11:04 +0200 (CEST) Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wjWMC-001j1S-19; Tue, 14 Jul 2026 08:11:04 +0200 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wjWMC-000000090fV-13oR; Tue, 14 Jul 2026 08:11:04 +0200 Date: Tue, 14 Jul 2026 08:11:04 +0200 From: Michael Olbrich To: Guillermo Rodriguez Garcia Message-ID: Mail-Followup-To: Guillermo Rodriguez Garcia , ptxdist@pengutronix.de, Alejandro Vazquez References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode Subject: Re: [ptxdist] How to add symbols to PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Alejandro Vazquez , ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 _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 |