blob: 7436e0dd559506f2a982ef8c4b8ff842e6bb64ce [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001include $(TOPDIR)/rules.mk
2
3PKG_NAME:=mt76-vendor
4PKG_RELEASE=1
5
6PKG_LICENSE:=GPLv2
7PKG_LICENSE_FILES:=
8
9include $(INCLUDE_DIR)/package.mk
10include $(INCLUDE_DIR)/cmake.mk
11
12CMAKE_SOURCE_DIR:=$(PKG_BUILD_DIR)
13CMAKE_BINARY_DIR:=$(PKG_BUILD_DIR)
14
15define Package/mt76-vendor
16 SECTION:=devel
17 CATEGORY:=Development
18 TITLE:=vendor cmd for mt76
19 DEPENDS:=+libnl-tiny
20endef
21
22TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl-tiny
23
24define Package/mt76-vendor/install
25 mkdir -p $(1)/usr/sbin
26 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mt76-vendor $(1)/usr/sbin
developerfd40db22021-04-29 10:08:25 +080027endef
28
29$(eval $(call BuildPackage,mt76-vendor))