summaryrefslogtreecommitdiffstats
path: root/rules/post/dts.make
blob: 1e94dc05a1bc4a05d9acf364fceb70236e743e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*-makefile-*-
#
# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# defined in post/ to make sure PTXCONF_DTC_OFTREE_DTS is fully defined
# .dtb depends on the .dts and dtc.install for all other dependencies
#
$(foreach dts, $(call remove_quotes,$(DTC_OFTREE_DTS)), \
	$(eval $(IMAGEDIR)/$(call ptx/dtb, $(dts)): $(dts)))

$(foreach dts, $(call remove_quotes,$(PTXCONF_DTC_OFTREE_DTS)), \
	$(eval $(IMAGEDIR)/$(call ptx/dtb, $(dts)): DTB_DTS=$(dts)))

$(foreach dts, $(call remove_quotes,$(DTC_OFTREE_DTS)), \
	$(eval $(dts): $(STATEDIR)/kernel.extract.post))

# vim: syntax=make