diff options
author | Marek Vasut <marex@denx.de> | 2016-06-20 15:23:18 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-20 15:23:18 +0200 |
commit | 96aff9c9860759095a56de3c5a2981fa4a16eb3a (patch) | |
tree | 602a3ced7dc142ebb67d04941f163f3fd4e37042 /package | |
parent | 730caf6eb9b658f4f31ce069e1742b5c48979566 (diff) | |
download | master-187ad058-96aff9c9860759095a56de3c5a2981fa4a16eb3a.tar.gz master-187ad058-96aff9c9860759095a56de3c5a2981fa4a16eb3a.tar.bz2 master-187ad058-96aff9c9860759095a56de3c5a2981fa4a16eb3a.zip |
package: kernel: dtc: Add device tree compiler package
Add package with the DT compiler v1.4.1 .
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/dtc/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/kernel/dtc/Makefile b/package/kernel/dtc/Makefile new file mode 100644 index 0000000000..5155323c42 --- /dev/null +++ b/package/kernel/dtc/Makefile @@ -0,0 +1,36 @@ +# +# Copyright (C) 2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=dtc +PKG_VERSION:=1.4.1 +PKG_RELEASE=$(PKG_SOURCE_VERSION) + +PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/utils/dtc/dtc.git +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=302fca9f4c283e1994cf0a5a9ce1cf43ca15e6d2 +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz + +PKG_MAINTAINER:=Marek Vasut <marex@denx.de> +PKG_LICENSE:=GPL-2.0+ + +include $(INCLUDE_DIR)/package.mk + +define Package/dtc + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Device Tree Compiler +endef + +define Package/dtc/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtc $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,dtc)) |