summaryrefslogtreecommitdiff
path: root/contrib/apps/httpserver
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2026-05-07 12:37:08 +0200
committerJerome Forissier <[email protected]>2026-06-03 16:55:55 +0200
commit081ffe9b3fc7ec1ec8eb7ced39d218f525f741e9 (patch)
tree89fadef324d4ed0a58dd018626be7cf666e7c669 /contrib/apps/httpserver
parent4674475760d293d6cca07c2f85ef48029e08078b (diff)
ls1028a: only include drivers/net/fsl_enetc.h when driver is compiled
As hinted by its path, it's not really meant to be included outside of the driver itself. This header uses CONFIG_SYS_RX_ETH_BUFFER which we are trying to move under CONFIG_NET dependency. This file here can be compiled without network support so make sure this only gets included when needed. The function from that header (fdt_fixup_enetc_mac) is already guarded by CONFIG_FSL_ENETC so simply guard the inclusion of the header the same way. This was tested by building ls1028aqds_tfa_defconfig with CONFIG_MSCC_FELIX_SWITCH and CONFIG_FSL_ENETC disabled. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'contrib/apps/httpserver')
0 files changed, 0 insertions, 0 deletions