|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=dtc |
|
|
PKG_NAME:=dtc |
|
|
PKG_VERSION:=1.4.6 |
|
|
PKG_VERSION:=1.4.6 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_HASH:=382302bfcc3c40734be80ac620983971d911ec4cde798f551873f3eb008c7b7e |
|
|
PKG_HASH:=382302bfcc3c40734be80ac620983971d911ec4cde798f551873f3eb008c7b7e |
|
|
PKG_SOURCE_URL:=https://www.kernel.org/pub/software/utils/dtc |
|
|
PKG_SOURCE_URL:=https://www.kernel.org/pub/software/utils/dtc |
|
@ -40,6 +40,24 @@ define Package/dtc/install |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# See Documentation/manual.txt for details about each utility
|
|
|
|
|
|
define Package/fdt-utils |
|
|
|
|
|
SECTION:=utils |
|
|
|
|
|
CATEGORY:=Utilities |
|
|
|
|
|
TITLE:=Flat Device Tree Utilities |
|
|
|
|
|
URL:=http://devicetree.org/Device_Tree_Compiler |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/fdt-utils/install |
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/convert-dtsv0 $(1)/usr/bin |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/fdtdump $(1)/usr/bin |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/fdtget $(1)/usr/bin |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/fdtput $(1)/usr/bin |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/fdtoverlay $(1)/usr/bin |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/libfdt |
|
|
define Package/libfdt |
|
|
SECTION:=libs |
|
|
SECTION:=libs |
|
|
CATEGORY:=Libraries |
|
|
CATEGORY:=Libraries |
|
@ -73,4 +91,5 @@ define Build/InstallDev |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,dtc)) |
|
|
$(eval $(call BuildPackage,dtc)) |
|
|
|
|
|
$(eval $(call BuildPackage,fdt-utils)) |
|
|
$(eval $(call BuildPackage,libfdt)) |
|
|
$(eval $(call BuildPackage,libfdt)) |