Add a 'list-cloudware' target to print the list of

supported CLOUDWARE values and a description.

Add the AZURE_DESC and OPENSTACK_DESC descriptions.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-01-16 17:05:35 +00:00
parent 0cdabd97fb
commit 99e908c904
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=277251

View File

@ -13,7 +13,9 @@ VMBASE?= vm
CLOUDWARE?= AZURE \
OPENSTACK
AZURE_FORMAT= vhdf
AZURE_DESC= Microsoft Azure platform image
OPENSTACK_FORMAT=qcow2
OPENSTACK_DESC= OpenStack platform image
.if defined(WITH_CLOUDWARE) && !empty(WITH_CLOUDWARE) && !empty(CLOUDWARE)
. for _CW in ${CLOUDWARE}
@ -62,3 +64,10 @@ vm-image:
touch ${.TARGET}
vm-cloudware: ${CLOUDTARGETS}
list-cloudware:
.if !empty(CLOUDWARE)
. for _CW in ${CLOUDWARE}
@${ECHO} "${_CW:tu}: ${${_CW:tu}_DESC}"
. endfor
.endif