forked from OERV-BSP/u-boot
Add Kconfig symbol LWIP_ICMP_SHOW_UNREACH which, when enabled, prints a message to the console upon reception of ICMP unreachable messages. For example: $ make qemu_arm64_lwip_defconfig $ qemu-system-aarch64 -M virt -cpu max -nographic -bios u-boot.bin [...] => dhcp DHCP client bound to address 10.0.2.15 (0 ms) => tftp 192.168.0.100:69:Image Using virtio-net#32 device TFTP from server 192.168.0.100; our IP address is 10.0.2.15 Filename 'Image'. Load address: 0x40200000 Loading: ICMP destination unreachable (host unreachable) from 192.168.0.16 Timeout! => tftp 192.168.0.16:69:Image Using virtio-net#32 device TFTP from server 192.168.0.16; our IP address is 10.0.2.15 Filename 'Image'. Load address: 0x40200000 Loading: ICMP destination unreachable (port unreachable) from 192.168.0.16 Timeout! => Submitted upstream as https://github.com/lwip-tcpip/lwip/pull/73. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
14 lines
465 B
Makefile
14 lines
465 B
Makefile
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_LWIP_ICMP_SHOW_UNREACH) += icmp_unreach.o
|
|
obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o
|
|
obj-$(CONFIG_WGET) += wget.o
|
|
|
|
ifeq (y,$(CONFIG_WGET_BUILTIN_CACERT))
|
|
$(obj)/builtin_cacert.c: $(CONFIG_WGET_BUILTIN_CACERT_PATH:"%"=%) FORCE
|
|
$(call if_changed,bin2c,builtin_cacert)
|
|
obj-y += builtin_cacert.o
|
|
endif
|