2017-10-18 02:37:58 +00:00
|
|
|
#
|
|
|
|
# Copyright 2017 NXP
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=restool
|
2019-04-18 11:19:21 +00:00
|
|
|
PKG_VERSION:=lsdk-1903
|
2017-10-18 02:37:58 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-07-03 06:17:08 +00:00
|
|
|
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/restool
|
2019-04-18 11:19:21 +00:00
|
|
|
PKG_SOURCE_VERSION:=8b1dd407bbd48b4f1a50c71b78083112a6397619
|
|
|
|
PKG_MIRROR_HASH:=2bb086dd4fc4975268b89867e7fc95b42a764b56c4a498518ef0d54694ffe40e
|
2017-10-18 02:37:58 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/restool
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Layerscape DPAA2 dynamical management tool
|
2018-07-03 06:17:08 +00:00
|
|
|
DEPENDS:=@TARGET_layerscape
|
2017-10-18 02:37:58 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
|
|
|
DESTDIR="$(PKG_BUILD_DIR)"/output/ \
|
|
|
|
install
|
|
|
|
|
|
|
|
define Package/restool/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/output/usr/local/bin/* $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,restool))
|