summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/device-tree-compiler/Makefile5
-rw-r--r--package/device-tree-compiler/patches/patch-Makefile20
2 files changed, 3 insertions, 22 deletions
diff --git a/package/device-tree-compiler/Makefile b/package/device-tree-compiler/Makefile
index 0823a17ca..ec88d8df7 100644
--- a/package/device-tree-compiler/Makefile
+++ b/package/device-tree-compiler/Makefile
@@ -4,10 +4,11 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= device-tree-compiler
-PKG_VERSION:= 8b927bf3b80de4b0a49e6b6e4a56293e9baec364
+PKG_VERSION:= b06e55c88b9b922ff7e25cd62a4709b65524f0fc
PKG_RELEASE:= 1
PKG_DESCR:= compiler for dts files
PKG_SECTION:= sys/misc
+HOST_BUILDDEP:= m4-host flex-host
PKG_URL:= http://www.devicetree.org/Device_Tree_Compiler
PKG_SITES:= git://git.kernel.org/pub/scm/utils/dtc/dtc.git
@@ -22,7 +23,7 @@ HOST_STYLE:= manual
host-build:
(cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
- ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
+ ${HOST_MAKE_FLAGS} dtc)
device-tree-compiler-hostinstall:
$(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
diff --git a/package/device-tree-compiler/patches/patch-Makefile b/package/device-tree-compiler/patches/patch-Makefile
deleted file mode 100644
index 35e962b78..000000000
--- a/package/device-tree-compiler/patches/patch-Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- device-tree-compiler-8b927bf3b80de4b0a49e6b6e4a56293e9baec364.orig/Makefile 2015-05-26 14:21:19.000000000 -0500
-+++ device-tree-compiler-8b927bf3b80de4b0a49e6b6e4a56293e9baec364/Makefile 2015-05-26 14:24:39.833627943 -0500
-@@ -63,7 +63,7 @@ endif
- # Rules for versioning
- #
-
--DTC_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
-+DTC_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)
- VERSION_FILE = version_gen.h
-
- CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
-@@ -82,7 +82,7 @@ localver_cmd = $(subst $(space),, $(stri
- localver_scm = $(shell $(CONFIG_SHELL) ./scripts/setlocalversion)
- localver_full = $(localver_config)$(localver_cmd)$(localver_scm)
-
--dtc_version = $(DTC_VERSION)$(localver_full)
-+dtc_version = $(DTC_VERSION)
-
- # Contents of the generated version file.
- define filechk_version