mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
67cd648fa2
For some reason, the build system chops off the last number from the version,
which is not correct. Add it back.
Update hash.
Fixes: 96c7164acd
("restool: update to LSDK-20.12")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
[add Fixes]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
40 lines
905 B
Makefile
40 lines
905 B
Makefile
#
|
|
# 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
|
|
PKG_VERSION:=LSDK-20.12
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/restool
|
|
PKG_SOURCE_VERSION:=LSDK-20.12
|
|
PKG_MIRROR_HASH:=aeba5add9d06c2a3cdac1cc2953d98f00acaa0038dbaf725b468f3e99e5fdd93
|
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/restool
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=Layerscape DPAA2 dynamical management tool
|
|
DEPENDS:=@TARGET_layerscape_armv8_64b
|
|
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))
|