LDFLAGS += $(PLATFORM_LDFLAGS)
LDFLAGS_FINAL += -Bstatic
-PLATFORM_CPPFLAGS += -DFIRMWARE_RECOVER_FROM_TFTP_SERVER -DCONFIG_SYS_NMRP -DDNI_NAND -DCONFIG_SYS_SINGLE_FIRMWARE
+PLATFORM_CPPFLAGS += -DDNI_NAND -DCONFIG_SYS_SINGLE_FIRMWARE
export PLATFORM_CPPFLAGS
export RELFLAGS
obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o
obj-$(CONFIG_UDP_FUNCTION_FASTBOOT) += fastboot.o
obj-$(CONFIG_CMD_WOL) += wol.o
-obj-y += nmrp.o
+obj-$(CONFIG_SYS_NMRP) += nmrp.o
# Disable this warning as it is triggered by:
# sprintf(buf, index ? "foo%d" : "foo", index)