net: split cmd/net.c into cmd/net.c and cmd/net-common.c
Extract some code from cmd/net.c that will be useful in a subsequent commit to implement wget with NET_LWIP. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
aedcfec9ed
commit
3135b9a916
@@ -130,7 +130,10 @@ obj-$(CONFIG_CMD_NAND) += nand.o
|
||||
ifdef CONFIG_CMD_NET
|
||||
obj-$(CONFIG_NET) += net.o
|
||||
obj-$(CONFIG_NET_LWIP) += net-lwip.o
|
||||
CFLAGS_net-lwip.o := -I$(srctree)/lib/lwip/lwip/src/include -I$(srctree)/lib/lwip/u-boot
|
||||
obj-$(filter y,$(CONFIG_CMD_NET) $(CONFIG_CMD_NET_LWIP)) += net-common.o
|
||||
lwip-includes := -I$(srctree)/lib/lwip/lwip/src/include -I$(srctree)/lib/lwip/u-boot
|
||||
CFLAGS_net-lwip.o := $(lwip-includes)
|
||||
CFLAGS_net-common.o := $(lwip-includes)
|
||||
endif
|
||||
obj-$(CONFIG_ENV_SUPPORT) += nvedit.o
|
||||
obj-$(CONFIG_CMD_NVEDIT_EFI) += nvedit_efi.o
|
||||
|
||||
Reference in New Issue
Block a user