summaryrefslogtreecommitdiffstats
path: root/rules/host-dtc.make
blob: 9cd3525ca96b7b6a5230ed93ffffc08a5b59709c (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
36
37
38
39
40
# -*-makefile-*-
#
# Copyright (C) 2007 by Sascha Hauer
#           (C) 2010 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
#
HOST_PACKAGES-$(PTXCONF_HOST_DTC) += host-dtc

#
# Paths and names
#
HOST_DTC_VERSION	:= $(call remove_quotes,$(PTXCONF_HOST_DTC_VERSION))
HOST_DTC_MD5		:= $(call remove_quotes,$(PTXCONF_HOST_DTC_MD5))
HOST_DTC		:= dtc-v$(HOST_DTC_VERSION)
HOST_DTC_SUFFIX		:= tar.gz
HOST_DTC_URL		:= https://git.kernel.org/pub/scm/utils/dtc/dtc.git;tag=v$(HOST_DTC_VERSION)
HOST_DTC_SOURCE		:= $(SRCDIR)/$(HOST_DTC).$(HOST_DTC_SUFFIX)
HOST_DTC_DIR		:= $(HOST_BUILDDIR)/$(HOST_DTC)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_DTC_CONF_TOOL := NO
HOST_DTC_MAKE_OPT := \
	PREFIX= \
	$(HOST_ENV_CC)
HOST_DTC_INSTALL_OPT := \
	$(HOST_DTC_MAKE_OPT) \
	install

# vim: syntax=make