aboutsummaryrefslogtreecommitdiff
path: root/utils/mv88e6xxx_dump/Makefile
blob: f3042be77d6c93209430cc0883d26b2f07a09152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=mv88e6xxx_dump
PKG_RELEASE:=1

PKG_FIXUP:=autoreconf

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/lunn/mv88e6xxx_dump
PKG_MIRROR_HASH:=cee56d21347496ca38a15d7572dbd2b0db32dfbfbb19a8ce679b9095f7b5a247
PKG_SOURCE_DATE:=2023.03.08
PKG_SOURCE_VERSION:=b4c5247ee8bb5512fb80081503aae183b35ed3c6

PKG_MAINTAINER:=Etienne Champetier <champetier.etienne@gmail.com>
PKG_LICENSE:=GPL-2.0-only

include $(INCLUDE_DIR)/package.mk

define Package/mv88e6xxx_dump
  SECTION:=utils
  CATEGORY:=Utilities
  URL:=https://github.com/lunn/mv88e6xxx_dump
  TITLE:=mv88e6xxx_dump
  DEPENDS:=@(TARGET_ath79||TARGET_imx||TARGET_kirkwood||TARGET_mvebu||TARGET_qoriq) +libmnl
endef

define Package/mv88e6xxx_dump/install
	$(INSTALL_DIR) $(1)/usr/bin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/mv88e6xxx_dump $(1)/usr/bin/
endef

$(eval $(call BuildPackage,mv88e6xxx_dump))