2017-10-18 10:37:58 +08: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
|
2022-02-17 18:14:37 +01:00
|
|
|
PKG_VERSION:=21.08
|
2023-05-17 21:08:40 +08:00
|
|
|
PKG_RELEASE:=4
|
2017-10-18 10:37:58 +08:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2023-06-11 15:22:49 +02:00
|
|
|
PKG_SOURCE_URL:=https://github.com/nxp-qoriq/restool
|
2021-10-11 12:54:09 +02:00
|
|
|
PKG_SOURCE_VERSION:=LSDK-21.08
|
2022-07-19 20:11:02 +02:00
|
|
|
PKG_MIRROR_HASH:=0396644927b8f3da20183227562f695c8063d3d4c6bb606e8f31dda450e962e4
|
2017-10-18 10:37:58 +08:00
|
|
|
|
2021-05-03 00:35:38 +02:00
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
|
2017-10-18 10:37:58 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/restool
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Layerscape DPAA2 dynamical management tool
|
2020-10-28 10:33:34 +08:00
|
|
|
DEPENDS:=@TARGET_layerscape_armv8_64b
|
2017-10-18 10:37:58 +08: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))
|