summaryrefslogtreecommitdiffstats
path: root/rules/templates/template-image-genimage-make
blob: 6a01f0754514070d3c269639e8593b7f1c4874e7 (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
# -*-makefile-*-
#
# Copyright (C) @YEAR@ by @AUTHOR@
#
# 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_@PACKAGE@) += image-@package@

#
# Paths and names
#
IMAGE_@PACKAGE@		:= image-@package@
IMAGE_@PACKAGE@_DIR	:= $(BUILDDIR)/$(IMAGE_@PACKAGE@)
IMAGE_@PACKAGE@_IMAGE	:= $(IMAGEDIR)/@package@.@TYPE@
IMAGE_@PACKAGE@_FILES	:= @FILES@
IMAGE_@PACKAGE@_CONFIG	:= @CONFIG@

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

$(IMAGE_@PACKAGE@_IMAGE):
	@$(call targetinfo)
	@$(call image/genimage, IMAGE_@PACKAGE@)
	@$(call finish)

# vim: syntax=make