1 Star 0 Fork 0

MCai/SNANDer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 966 Bytes
一键复制 编辑 原始数据 按行查看 历史
Droid-MAX 提交于 2023-02-12 14:02 . Add OpenWrt IPK Support
include $(TOPDIR)/rules.mk
PKG_NAME:=snander
PKG_VERSION:=1.7.8
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=libpthread libusb-1.0
PKG_MAINTAINER:=McMCC <mcmcc@mail.ru>
PKG_LICENSE:=GPLv2.0
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Serial Nor/nAND/Eeprom programmeR (based on CH341A)
MAINTAINER:=McMCC <mcmcc@mail.ru>
URL:=https://github.com/McMCCRU/SNANDer
DEPENDS:=+libpthread +libusb-1.0
TARGET_CFLAGS:=-std=gnu99 -Wall -O2 -D_FILE_OFFSET_BITS=64
TARGET_LDFLAGS:=-ldl -lpthread
endef
define Package/$(PKG_NAME)/description
Serial Nor/nAND/Eeprom programmeR (based on CH341A)
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
cp -r src/* $(PKG_BUILD_DIR)
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/snander $(1)/usr/bin
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/mcai33/SNANDer.git
git@gitee.com:mcai33/SNANDer.git
mcai33
SNANDer
SNANDer
master

搜索帮助