mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00

Let net/wget.c and net/lwip/wget.c depend on CONFIG_WGET, and cmd/wget.c depend on CONFIG_CMD_WGET. This way, the wget code can be used regardless of whether the wget command is available. Signed-off-by: Adriano Cordova <adrianox@gmail.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
8 lines
287 B
Makefile
8 lines
287 B
Makefile
ccflags-y += -I$(srctree)/lib/lwip/lwip/src/include -I$(srctree)/lib/lwip/u-boot
|
|
|
|
obj-$(CONFIG_$(SPL_)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
|