From b1dbe6028eed57a89ae94c5e61e0b1e65f3aeb80 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 7 Jan 2017 21:00:47 +0100 Subject: [PATCH] ar71xx: fix legacy image build error Signed-off-by: Felix Fietkau --- target/linux/ar71xx/image/legacy.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/image/legacy.mk b/target/linux/ar71xx/image/legacy.mk index 32590166b9..f80b700be8 100644 --- a/target/linux/ar71xx/image/legacy.mk +++ b/target/linux/ar71xx/image/legacy.mk @@ -199,7 +199,7 @@ define Image/BuildLoader LZMA_TEXT_START=0x80a00000 LOADADDR=0x80060000 \ LOADER_DATA="$(KDIR)/vmlinux$(5).bin.lzma" BOARD="$(1)" \ compile loader.$(2) - -$(CP) $(KDIR)/loader-$(1).$(2) $(KDIR)/loader-$(1)$(5).$(2) + -$(if $(5),$(CP) $(KDIR)/loader-$(1).$(2) $(KDIR)/loader-$(1)$(5).$(2)) endef # -- 2.25.1