view profiles/profiles.mk @ 277:e58331d19c41

small tidy
author ray@terran.dlink.ua
date Wed, 14 Dec 2011 13:06:09 +0200
parents 89de91c025a5
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