Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RTL biastMakefile
#/home/strykar/builds/openwrt/feeds/packages/net/rtlsdrbiast/Makefile
include $(TOPDIR)/rules.mk
PKG_NAME:=rtlsdrbiast
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_BUILD_DIR:=/home/strykar/builds/rtlsdrbiast-1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/rtlsdrblog/rtl_biast
PKG_SOURCE_DATE:=2016-11-17
PKG_SOURCE_VERSION:=88ac0316280cd8fb6c88a07359e759e8db3dccc1
PKG_MIRROR_HASH:=bec8120ad90ec29c1b8d56510ee33f9647dde17152083dfd7c9109349fff9504
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/rtlsdrbiast
SECTION:=base
CATEGORY:=Network
TITLE:=RTL-SDR blog USB dongle bias tee
URL:=https://github.com/rtlsdrblog/rtl_biast
endef
define Package/rtlsdrbiastee/description
rtl_biast, a tool for turning the RTL-SDR.com bias tee ON and OFF.
endef
define Build/Configure
$(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
endef
define Package/rtlsdrblog/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rtlsdrbiast $(1)/usr/bin/
endef
$(eval $(call BuildPackage,rtlsdrbiast))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.