summaryrefslogtreecommitdiffstats
path: root/rules/image-hd-vdi.make
blob: 7193f2de54b2cad56cb1dfb2fdfeff9fbe921328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*-makefile-*-
#
# Copyright (C) 2018 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
IMAGE_PACKAGES-$(PTXCONF_IMAGE_HD_VDI) += image-hd-vdi

#
# Paths and names
#
IMAGE_HD_VDI		:= image-hd-vdi
IMAGE_HD_VDI_IMAGE	:= $(IMAGEDIR)/hd.vdi
IMAGE_HD_VDI_FILES	:= $(IMAGEDIR)/hd.img

# ----------------------------------------------------------------------------
# Image
# ----------------------------------------------------------------------------

$(IMAGE_HD_VDI_IMAGE):
	@$(call targetinfo)
	@$(call image/env) \
		image_vdi_img="$(IMAGE_HD_VDI_FILES)" \
		image_vdi_vdi="$(@)" \
		ptxd_make_image_vdi
	@$(call finish)

# vim: syntax=make