summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_world_license.make
blob: 11d9fcc2d1fc5ab43f5b1e409ef39cec5b071c3c (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) 2011-2013 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.
#

#
# world/license
#
world/license = \
	$(call world/env, $(1)) \
	ptxd_make_world_license

$(STATEDIR)/%.report:
	@$(call targetinfo)
	@$(call world/license, $(PTX_MAP_TO_PACKAGE_$(*)))
	@$(call touch)

# create a "release" of all required information including licenses, sources and patches

world/release = \
	$(call world/env, $(1)) \
	ptxd_make_world_release

$(STATEDIR)/%.release:
	@$(call targetinfo)
	@$(call world/release, $(PTX_MAP_TO_PACKAGE_$(*)))
	@$(call touch)


# vim: syntax=make