From: Felix Fietkau Date: Sat, 7 Jan 2017 20:00:47 +0000 (+0100) Subject: ar71xx: fix legacy image build error X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b1dbe6028eed57a89ae94c5e61e0b1e65f3aeb80;p=openwrt%2Fstaging%2Fneocturne.git ar71xx: fix legacy image build error Signed-off-by: Felix Fietkau --- 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 #