[Zrouter-src] ZRouter.org: push to ZRouter socs/socs.mk

zrouter-src at zrouter.org zrouter-src at zrouter.org
Mon Feb 6 18:18:29 UTC 2012


details:   http://zrouter.org/hg/zrouter//rev/b36c557b7d90
changeset: 363:b36c557b7d90
user:      ray at terran.dlink.ua
date:      Mon Feb 06 20:12:31 2012 +0200
description:
Protect other make targets, that can work w/o defined board/soc/arch/etc

diffstat:

 socs/socs.mk |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 06512527b6d5 -r b36c557b7d90 socs/socs.mk
--- a/socs/socs.mk	Mon Feb 06 20:11:14 2012 +0200
+++ b/socs/socs.mk	Mon Feb 06 20:12:31 2012 +0200
@@ -13,9 +13,11 @@
 SOC_PAIRS!=ls -d ${ZROUTER_ROOT}/socs/*/* | sed 's/^.*\/socs\///'
 .endif
 
+.if defined(TARGET_ARCH)
 .if ${TARGET_ARCH} == "mipsel" || ${TARGET_ARCH} == "mipseb"
 KERNCONF_KERN_LDSCRIPT_NAME?=	ldscript.mips.bin
 .else
 KERNCONF_KERN_LDSCRIPT_NAME?=	ldscript.${TARGET}
 .endif
+.endif
 


More information about the Zrouter-src mailing list