From 5539c13cff89bd6a6d6586abf5f17509cd19dc7e Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 11 Mar 2012 14:03:28 +0000 Subject: [PATCH] ar71xx: stop image building if a loader is missing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30877 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/image/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index f7df1026a..8fcaa08d1 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -299,6 +299,7 @@ define Image/Build/Planex/loader endef define Image/Build/Planex + [ -e "$(KDIR)/loader-$(2).gz" ] $(call MkuImage,gzip,,$(KDIR)/loader-$(2).gz,$(KDIR_TMP)/vmlinux-$(2).uImage) $(call MkuImageOKLI,$(2)) ( \ @@ -338,6 +339,7 @@ define Image/Build/TPLINKOLD/loader endef define Image/Build/TPLINKOLD + [ -e "$(KDIR)/loader-$(2).gz" ] $(call MkuImageOKLI,$(2)) ( \ dd if=$(KDIR)/loader-$(2).gz bs=7680 count=1 conv=sync; \ @@ -368,6 +370,7 @@ define Image/Build/TPLINK/loader endef define Image/Build/TPLINK + [ -e "$(KDIR)/loader-$(2).gz" ] $(call MkuImageOKLI,$(2)) ( \ dd if=$(KDIR)/loader-$(2).gz bs=7680 count=1 conv=sync; \