[PATCH 0/9] exports overhaul
Rasmus Villemoes
ravi at prevas.dk
Fri Sep 19 12:09:53 CEST 2025
This all started from me wondering "why does this standalone app end
up being so huge"? Oh, it essentially links in its own standard C
library to get strlen() and snprintf(). Which then led to asking "why
don't we export all those standard C functions when we have them
anyway?".
CI has chewed on these and seem happy - it was CI which told me about
the necessity of [1/9]: https://github.com/u-boot/u-boot/pull/813
Rasmus Villemoes (9):
malloc.h: be a bit more consistent with macro definitions
_exports.h: drop creating dummy i2c entries and fixup config
dependency
_exports.h: simplify condition for including spi functions
_exports.h: drop the last dummy entries
exports.c: drop unused dummy function
exports.h: make sure declarations are in sync with the actual exports
_exports.h: reorganize a bit
_exports.h: export standard memory/string handling functions
exports.h: bump XF_VERSION
common/exports.c | 11 ----------
include/_exports.h | 50 ++++++++++++++++++++++------------------------
include/exports.h | 38 ++++-------------------------------
include/malloc.h | 6 +++---
4 files changed, 31 insertions(+), 74 deletions(-)
--
2.51.0
More information about the U-Boot
mailing list