mv88e6xxx_dump: add new packages to debug switch issues
authorEtienne Champetier <champetier.etienne@gmail.com>
Sat, 28 Jan 2023 22:19:10 +0000 (00:19 +0200)
committerEtienne Champetier <champetier.etienne@gmail.com>
Fri, 3 Feb 2023 11:23:20 +0000 (13:23 +0200)
Reviewed-by: Chris Healy cphealy@gmail.com
Reviewed-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Andre Heider <a.heider@gmail.com>
Tested-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 167c6234d01e72da447e47e2c1b3f7a3195aab83)

utils/mv88e6xxx_dump/Makefile [new file with mode: 0644]

diff --git a/utils/mv88e6xxx_dump/Makefile b/utils/mv88e6xxx_dump/Makefile
new file mode 100644 (file)
index 0000000..52bcea5
--- /dev/null
@@ -0,0 +1,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:=2f1bce89212a10be89e106398ccc2f7eedcc1a7299bf8a1a05b3baf061f779f5
+PKG_SOURCE_DATE:=2022.03.29
+PKG_SOURCE_VERSION:=a3f713f99e0004d17d9282e0cb253505b9ca35b6
+
+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))