changeset 493:f9461de5ba49

add port-build empty target for case when no ports selected to build.
author Aleksandr Rybalko <ray@ddteam.net>
date Tue, 27 Nov 2012 16:03:20 +0200
parents 75c84c6b57cc
children 8dd701db11db
files Makefile
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Nov 27 16:01:25 2012 +0200
+++ b/Makefile	Tue Nov 27 16:03:20 2012 +0200
@@ -455,6 +455,9 @@
 
 .if defined(WORLD_SUBDIRS_PORTS) && !empty(WORLD_SUBDIRS_PORTS)
 .include "share/mk/zrouter.ports.mk"
+.else
+port-build:
+	@echo "No ports defined in WORLD_SUBDIRS_PORTS"
 .endif
 
 rootfs-dir!