summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2016-07-21 14:58:36 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2016-07-21 15:09:00 +0200
commit98d15136759d17ea79ad141290c69399d899510d (patch)
tree4be1f6fd2b1e037bd7dbb6dc80588695018777ef
parent894c1566730fe1279526f35dda33bea45dce72a6 (diff)
downloadptxdist-98d15136759d17ea79ad141290c69399d899510d.tar.gz
host-dtc: use kernel.org git and bump default version to 1.4.1
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--platforms/host-dtc.in9
-rw-r--r--rules/host-dtc.make20
2 files changed, 11 insertions, 18 deletions
diff --git a/platforms/host-dtc.in b/platforms/host-dtc.in
index 4d21071..6fd667e 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 31fbbce..ef9cb7d 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