view profiles/profiles.mk @ 523:9ac53695a44d tip

Update mktplinkfw to handle more boards
author Aleksandr Rybalko <ray@ddteam.net>
date Fri, 08 Jan 2016 23:53:34 +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