From 98d15136759d17ea79ad141290c69399d899510d Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Thu, 21 Jul 2016 14:58:36 +0200 Subject: host-dtc: use kernel.org git and bump default version to 1.4.1 Signed-off-by: Marc Kleine-Budde --- platforms/host-dtc.in | 9 ++++----- rules/host-dtc.make | 20 +++++++------------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/platforms/host-dtc.in b/platforms/host-dtc.in index 4d2107187..6fd667e05 100644 --- a/platforms/host-dtc.in +++ b/platforms/host-dtc.in @@ -12,14 +12,13 @@ menuconfig HOST_DTC if HOST_DTC config HOST_DTC_VERSION - string - prompt "Device tree compiler version" - default "1.3.0" + string "Device tree compiler version" + default "1.4.1" help Specify the DTC version number to be used config HOST_DTC_MD5 - prompt "dtc source md5sum" - string + string "dtc source md5sum" + default "e3543e76153c553cfce531ce147b9bfd" endif diff --git a/rules/host-dtc.make b/rules/host-dtc.make index 31fbbce6a..ef9cb7dcc 100644 --- a/rules/host-dtc.make +++ b/rules/host-dtc.make @@ -20,8 +20,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_DTC) += host-dtc 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_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) @@ -29,16 +29,10 @@ 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) +HOST_DTC_CONF_TOOL := NO +HOST_DTC_COMPILE_OPT := PREFIX= +HOST_DTC_INSTALL_OPT := \ + $(HOST_DTC_COMPILE_OPT) \ + install # vim: syntax=make -- cgit v1.2.3