changeset 506:500480b36885

Do not include boards/boards.mk in case of call to show-target-pairs target.
author Aleksandr Rybalko <ray@ddteam.net>
date Thu, 02 Oct 2014 15:37:20 +0300
parents 4a36e404243d
children fa8d9cab1b7a
files Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Oct 02 15:35:23 2014 +0300
+++ b/Makefile	Thu Oct 02 15:37:20 2014 +0300
@@ -53,7 +53,9 @@
 ##############################################################################
 # Board configuration must define used SoC/CPU
 ##############################################################################
+.ifnmake show-target-pairs
 .include "boards/boards.mk"
+.endif
 
 .if !defined(TARGET_BOARDDIR)
 TARGET_PAIRS!=ls -d ${ZROUTER_ROOT}/boards/*/* | sed 's/^.*\/boards\///'