[Zrouter-src] ZRouter.org: push to ZRouter Makefile

zrouter-src at zrouter.org zrouter-src at zrouter.org
Fri Dec 9 15:51:06 UTC 2011


details:   http://zrouter.org/hg/zrouter//rev/3782f2da7fe2
changeset: 263:3782f2da7fe2
user:      ray at terran.dlink.ua
date:      Fri Dec 09 17:51:21 2011 +0200
description:
fix for not ubntimage targtes

diffstat:

 Makefile |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r e9e4d64a57a4 -r 3782f2da7fe2 Makefile
--- a/Makefile	Fri Dec 09 17:25:15 2011 +0200
+++ b/Makefile	Fri Dec 09 17:51:21 2011 +0200
@@ -538,9 +538,12 @@
 	IMGMD5=`md5 ${NEW_IMAGE} | cut -f4 -d' '` ; \
 	cp ${NEW_IMAGE} ${ZROUTER_OBJ}/${TARGET_VENDOR}_${TARGET_DEVICE}-${ZROUTER_VERSION}.$${IMGMD5}.${IMAGE_SUFFIX}
 
+.if target(ubntimage)
 .if !defined(UBNT_VERSION) || empty(UBNT_VERSION)
 .error Specify UBNT_VERSION or device will not accept firmware
 .endif
+.endif
+
 UBNT_FIRMWARE_IMAGE_SIZE_MAX?=${FIRMWARE_IMAGE_SIZE_MAX}
 UBNT_KERNEL_ENTRY?=${KERNCONF_KERNLOADADDR}
 UBNT_KERNEL_FLASH_BASE?=0xbf030000


More information about the Zrouter-src mailing list