diff options
| author | Jerome Forissier <[email protected]> | 2024-10-16 12:04:00 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-16 11:11:56 -0600 |
| commit | 1d5d292b79415abf3d0214cd2f707b43cf9fdfbf (patch) | |
| tree | 349a83bb8c17c24b19bbfc918b5076afc300ae8e /net/Makefile | |
| parent | 8cb330355bd52852f209cf08c1e79babfbdf1253 (diff) | |
net: split net into net{,-common,-legacy,-lwip}
Make net.h a wrapper which includes net-common.h and either
net-legacy.h or net-lwip.h based on NET_LWIP. The function
copy_filename() can be useful when NET_LWIP is enabled, therefore
move it out of net/net.c which is built only when networking choice
is NET and create a new file net/net-common.c.
Signed-off-by: Jerome Forissier <[email protected]>
Acked-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'net/Makefile')
| -rw-r--r-- | net/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 33c82b5d229..34fe50133a3 100644 --- a/net/Makefile +++ b/net/Makefile @@ -42,3 +42,5 @@ obj-$(CONFIG_CMD_WGET) += wget.o CFLAGS_eth_common.o += -Wno-format-extra-args endif + +obj-y += net-common.o |
