mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
add qca feed
This commit is contained in:
parent
d43ffd8720
commit
26ac03f3f6
451 changed files with 111139 additions and 12069 deletions
64
qaa/qca/utils/libtlv2/Makefile
Normal file
64
qaa/qca/utils/libtlv2/Makefile
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG:=libtlv2
|
||||
PKG_NAME:=$(PKG)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
LOCAL_SRC:=$(TOPDIR)/qca/src/common-tools/ath6kl-utils/libathtestcmd/libtlv2
|
||||
|
||||
include $(INCLUDE_DIR)/local-development.mk
|
||||
|
||||
ifeq ($(DUMP)$(PKG_VERSION),)
|
||||
PKG_VERSION:=$(shell git ls-remote $(PKG_SOURCE_URL) $(PKG_BRANCH) | cut -b -7)
|
||||
endif
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
SECTION:=QTI
|
||||
CATEGORY:=$(QTI_SOFTWARE_CATEGORY)
|
||||
URL:=http://www.qualcomm.com
|
||||
MAINTAINER:=Qualcomm Technologies, Inc
|
||||
TITLE:= QTI libtlv2 utils
|
||||
DEPENDS:= @TARGET_ipq_ipq807x||TARGET_ipq_ipq807x_64||TARGET_ipq_ipq60xx||TARGET_ipq_ipq60xx_64||TARGET_ipq_ipq50xx||TARGET_ipq_ipq50xx_64||TARGET_ipq807x||TARGET_ipq60xx +libpthread +libnl
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description/Default
|
||||
LIBTLV2 Package Support for QTI WIFI 11 drivers
|
||||
endef
|
||||
|
||||
|
||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include \
|
||||
-I./include \
|
||||
-I./include/testUtil.h \
|
||||
-fPIC -DWLAN_API_NL80211 -DLIBNL_2 -DWIN_AP_HOST -D_HOST_SIM_TESTING -D_FOR_HOST_TESTING \
|
||||
-DLinux \
|
||||
-I./cmdEncoder \
|
||||
-I./cmdParser \
|
||||
-I./common \
|
||||
-I./tlvcmdrsp \
|
||||
-I$(STAGING_DIR)/usr/include/libathtestcmd
|
||||
|
||||
TARGET_LDFLAGS += -shared
|
||||
|
||||
ifneq ($(CONFIG_PACKAGE_kmod-ath11k),)
|
||||
TARGET_CFLAGS+=-DWIN_AP_HOST_OPEN=1
|
||||
endif
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
-f Makefile.win
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME) $(1)/usr/lib
|
||||
$(CP) $(PKG_BUILD_DIR)/include/*.h $(1)/usr/include/$(PKG_NAME)
|
||||
$(CP) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libtlv2))
|
||||
Loading…
Add table
Add a link
Reference in a new issue