# -*-makefile-*- # # Copyright (C) 2007 by Sascha Hauer # (C) 2010 by Michael Olbrich # # 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) # ---------------------------------------------------------------------------- # 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