view profiles/profiles.mk @ 487:5616a3d38d8e

[mq]: cross-ports
author Aleksandr Rybalko <ray@ddteam.net>
date Fri, 02 Nov 2012 15:36:00 +0200
parents e58331d19c41
children
line wrap: on
line source



.if defined(TARGET_PROFILES)

.for profile in ${TARGET_PROFILES}

.if exists(${ZROUTER_ROOT}/profiles/${profile}/) && exists(${ZROUTER_ROOT}/profiles/${profile}/profile.mk)
.include "${ZROUTER_ROOT}/profiles/${profile}/profile.mk"

.if exists(${ZROUTER_ROOT}/profiles/${profile}/files)
ROOTFS_COPY_DIRS+=${ZROUTER_ROOT}/profiles/${profile}/files
.endif

.else
.error "Profile ${profile} not found"
.endif # exists(${ZROUTER_ROOT}/profiles/${profile}/) && profile.mk

.endfor

.endif