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
|
2021-09-20 02:43:41 +00:00
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2017-10-18 02:37:58 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-07-03 06:17:08 +00:00
|
|
|
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/restool
|
2021-09-20 02:43:41 +00:00
|
|
|
PKG_SOURCE_VERSION:=LSDK-20.12
|
2020-03-11 10:51:46 +00:00
|
|
|
PKG_MIRROR_HASH:=1863acfaef319e6b277671fead51df0a31bdddb59022080d86b7d81da0bc8490
|
2017-10-18 02:37:58 +00:00
|
|
|
|
2021-05-02 22:35:38 +00:00
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
|
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
|
2020-10-28 02:33:34 +00:00
|
|
|
DEPENDS:=@TARGET_layerscape_armv8_64b
|
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))
|