[PATCH 3/6] rockchip: puma-rk3399: only declare functions in U-Boot proper

Tom Rini trini at konsulko.com
Thu Nov 9 22:26:09 CET 2023


On Wed, Nov 08, 2023 at 03:20:32PM +0100, Quentin Schulz wrote:

> From: Quentin Schulz <quentin.schulz at theobroma-systems.com>
> 
> Those functions are useless in anything but U-Boot proper for now, so
> let's compile them out explicitly.
> 
> Cc: Quentin Schulz <foss+uboot at 0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>
> ---
>  board/theobroma-systems/puma_rk3399/puma-rk3399.c | 2 ++
>  1 file changed, 2 insertions(+)

Please do this at the Makefile level and just not build the file rather
than #if out the entire thing.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231109/d02d1db4/attachment.sig>


More information about the U-Boot mailing list