waf examples: how to modify linker flags/how to process generated exe.

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 24 07:03:42 UTC 2020


Hello Karel,

a post-link step (for example a transformation of the ELF file into a 
boot loader image) is currently not supported by the new build system. 
For this the idea is to let the BSP optionally provide a "post-link" 
command line tool (a shell script for example) and then use a mechanism 
described here:

https://waf.io/blog/2016/09/waf-strip-binaries.html

Changing linker flags for a BSP is the easy part, see for example:

spec/build/bsps/i386/pc386/optrelocaddr.yml

-- 
embedded brains GmbH
Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
Phone: +49-89-18 94 741 - 16
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

embedded brains GmbH
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list