summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-13 12:23:35 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-13 12:23:35 +0200
commit9d6bea2babdf88563c1c80347e95935eb206d009 (patch)
treef88c4ac8dfd7d1ddee50aa4ad962e3b94b4d94fc /package
parent7f1d50648a25abd3066c4b3a4c68964242ec02db (diff)
rename package and use github release
Diffstat (limited to 'package')
-rw-r--r--package/dtc/Makefile (renamed from package/device-tree-compiler/Makefile)16
-rw-r--r--package/dtc/patches/patch-Makefile (renamed from package/device-tree-compiler/patches/patch-Makefile)0
-rw-r--r--package/u-boot/Makefile2
3 files changed, 10 insertions, 8 deletions
diff --git a/package/device-tree-compiler/Makefile b/package/dtc/Makefile
index 5bca21089..16b4bc376 100644
--- a/package/device-tree-compiler/Makefile
+++ b/package/dtc/Makefile
@@ -3,22 +3,24 @@
include $(ADK_TOPDIR)/rules.mk
-PKG_NAME:= device-tree-compiler
-PKG_VERSION:= b06e55c88b9b922ff7e25cd62a4709b65524f0fc
-PKG_GIT:= hash
+PKG_NAME:= dtc
+PKG_VERSION:= 1.4.2
PKG_RELEASE:= 1
+PKG_HASH:= 4c1f9e55106c5111de091beba04d5ab89d6e52f185684fca0944d3b62ce5f084
PKG_DESCR:= compiler for dts files
PKG_SECTION:= sys/misc
HOST_BUILDDEP:= m4-host flex-host bison-host
PKG_URL:= http://www.devicetree.org/Device_Tree_Compiler
-PKG_SITES:= https://git.kernel.org/pub/scm/utils/dtc/dtc.git
+PKG_SITES:= https://github.com/dgibson/dtc/archive/
-PKG_CFLINE_DEVICE_TREE_COMPILER:= depends on ADK_HOST_ONLY
+DISTFILES:= v$(PKG_VERSION).tar.gz
+
+PKG_CFLINE_DTC:= depends on ADK_HOST_ONLY
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call HOST_template,DEVICE_TREE_COMPILER,device-tree-compiler,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call HOST_template,DTC,dtc,$(PKG_VERSION)-$(PKG_RELEASE)))
HOST_STYLE:= manual
@@ -26,7 +28,7 @@ host-build:
(cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
${HOST_MAKE_FLAGS} dtc)
-device-tree-compiler-hostinstall:
+dtc-hostinstall:
$(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/dtc $(STAGING_HOST_DIR)/usr/bin
diff --git a/package/device-tree-compiler/patches/patch-Makefile b/package/dtc/patches/patch-Makefile
index a07d3e953..a07d3e953 100644
--- a/package/device-tree-compiler/patches/patch-Makefile
+++ b/package/dtc/patches/patch-Makefile
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index f00189572..ee0f022aa 100644
--- a/package/u-boot/Makefile
+++ b/package/u-boot/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 994e7b9e0e350d9f91f5892d5e5bff00d3714a4962f520f78a64a461ef950ba9
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
-HOST_BUILDDEP:= libressl-host device-tree-compiler-host
+HOST_BUILDDEP:= libressl-host dtc-host
PKG_BUILDDEP:= u-boot-host
PKG_URL:= http://www.denx.de/wiki/U-Boot
PKG_SITES:= ftp://ftp.denx.de/pub/u-boot/