diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2025-06-25 15:19:10 +0200 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-07-08 11:07:37 +0200 |
commit | 1c55e0370b2fbde433daa3035ca0976858effd6d (patch) | |
tree | 8621137cba0572304d24ed66c79692a14e62b2c3 | |
parent | 0a9374deb8040d11393f1007ab106ffd9a0464a2 (diff) |
lwip: move net/lwip/dns.c to cmd/lwip
Prepare to split the dns command from cmd/net-lwip.c by moving the
implementation from net/lwip/dns.c to cmd/lwip.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
-rw-r--r-- | MAINTAINERS | 1 | ||||
-rw-r--r-- | cmd/Makefile | 1 | ||||
-rw-r--r-- | cmd/lwip/Makefile | 1 | ||||
-rw-r--r-- | cmd/lwip/dns.c (renamed from net/lwip/dns.c) | 0 | ||||
-rw-r--r-- | net/lwip/Makefile | 1 |
5 files changed, 3 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index b4d5df77ff6..d5264c8f5df 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1410,6 +1410,7 @@ F: net/ NETWORK (LWIP) M: Jerome Forissier <jerome.forissier@linaro.org> S: Maintained +F: cmd/lwip/ F: cmd/net-lwip.c F: configs/qemu_arm64_lwip_defconfig F: drivers/net/sandbox-lwip.c diff --git a/cmd/Makefile b/cmd/Makefile index 80cf70b7fe8..9c5bfc91659 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -134,6 +134,7 @@ ifdef CONFIG_NET obj-$(CONFIG_CMD_NET) += net.o net-common.o else ifdef CONFIG_NET_LWIP obj-$(CONFIG_CMD_NET) += net-lwip.o net-common.o +obj-y += lwip/ endif obj-$(CONFIG_ENV_SUPPORT) += nvedit.o obj-$(CONFIG_CMD_NVEDIT_EFI) += nvedit_efi.o diff --git a/cmd/lwip/Makefile b/cmd/lwip/Makefile new file mode 100644 index 00000000000..6c4ab58d06b --- /dev/null +++ b/cmd/lwip/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_CMD_DNS) += dns.o diff --git a/net/lwip/dns.c b/cmd/lwip/dns.c index fe70bdb4828..fe70bdb4828 100644 --- a/net/lwip/dns.c +++ b/cmd/lwip/dns.c diff --git a/net/lwip/Makefile b/net/lwip/Makefile index 5df222589b8..255c7d018b0 100644 --- a/net/lwip/Makefile +++ b/net/lwip/Makefile @@ -2,7 +2,6 @@ ccflags-y += -I$(srctree)/lib/lwip/lwip/src/include -I$(srctree)/lib/lwip/u-boot obj-$(CONFIG_$(PHASE_)DM_ETH) += net-lwip.o obj-$(CONFIG_CMD_DHCP) += dhcp.o -obj-$(CONFIG_CMD_DNS) += dns.o obj-$(CONFIG_CMD_PING) += ping.o obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o obj-$(CONFIG_WGET) += wget.o |