blob: d1045684d4702d39cb749dde9b9c7f8f1333fe1e (
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
41
42
43
44
45
46
47
48
49
50
51
52
|
# -*-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 := tgz
HOST_DTC_URL := http://www.jdl.com/software/$(HOST_DTC).$(HOST_DTC_SUFFIX)
HOST_DTC_SOURCE := $(SRCDIR)/$(HOST_DTC).$(HOST_DTC_SUFFIX)
HOST_DTC_DIR := $(HOST_BUILDDIR)/$(HOST_DTC)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(HOST_DTC_SOURCE):
@$(call targetinfo)
@$(call get, HOST_DTC)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
HOST_DTC_PATH := PATH=$(HOST_PATH)
HOST_DTC_ENV := $(HOST_ENV)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/host-dtc.install:
@$(call targetinfo)
cp $(HOST_DTC_DIR)/dtc $(PTXCONF_SYSROOT_HOST)/bin/dtc
@$(call touch)
# vim: syntax=make
|