diff options
author | Roger Pueyo Centelles <roger.pueyo@guifi.net> | 2019-11-28 13:23:34 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-23 15:28:02 +0100 |
commit | ba730d61af3b860e5d5a086a318a6c2a84e68c9c (patch) | |
tree | 3b4b1d05068584464e19ef2bb397559870c88194 /package/utils/rbextract/Makefile | |
parent | 51526bcf1e4f67dae8d6d0266dd6b740cb3ae364 (diff) | |
download | upstream-ba730d61af3b860e5d5a086a318a6c2a84e68c9c.tar.gz upstream-ba730d61af3b860e5d5a086a318a6c2a84e68c9c.tar.bz2 upstream-ba730d61af3b860e5d5a086a318a6c2a84e68c9c.zip |
rbextract: add package
This utility extracts the radio calibration data, as well as other
board-related information (model, serial number, etc.), from MikroTik
Routerboard devices' flash.
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Acked-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'package/utils/rbextract/Makefile')
-rw-r--r-- | package/utils/rbextract/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/utils/rbextract/Makefile b/package/utils/rbextract/Makefile new file mode 100644 index 0000000000..b055a615cf --- /dev/null +++ b/package/utils/rbextract/Makefile @@ -0,0 +1,37 @@ +# +# Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org> +# Copyright (C) 2018 Chris Schimp <silverchris@gmail.com> +# Copyright (C) 2019 Robert Marko <robimarko@gmail.com> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=rbextract +PKG_RELEASE:=1 +CMAKE_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/cmake.mk + +define Package/rbextract + SECTION:=utils + CATEGORY:=Utilities + SUBMENU:=Boot Loaders + TITLE:=RouterBOOT ART Extractor + DEPENDS:=@TARGET_ath79 +liblzo +endef + +define Package/rbextract/description + This utility is for extracting the WLAN radio calibration data from Mikrotik + Routerboards. +endef + +define Package/rbextract/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/rbextract $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,rbextract)) |