mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 17:31:27 +00:00
This series is based on * 2020-07-10 ipq6018-ilq-11-0_qca_oem-034672b0676c37b1f4519e5720e18e95fe6236ef Add support for * qsdk kernel/v4.4 * qsdk ethernet subsystem * v5.7 ath11k backport + QualComm staging patches (wlan_ap_1.0) * ath11k-firmware * hostapd/iw/... Feature support * full boot, system detection * sysupgrade to nand * HE support via latest hostapd * driver support for usb, crypto, hwmon, cpufreq, ... Missing * NSS/HW flow offloading - FW blob is not redistributable Using the qsdk v4.4 is an intermediate solution while the vanilla is being tested. Vanilla kernel is almost on feature par. Work has already started to upstream the ethernet and switch drivers. Once complete the target will be fully upstream. Signed-off-by: John Crispin <john@phrozen.org>
111 lines
2.4 KiB
Makefile
111 lines
2.4 KiB
Makefile
#
|
|
# Copyright (C) 2007-2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=protobuf
|
|
PKG_VERSION:=3.7.1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-cpp-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/google/protobuf/releases/download/v$(PKG_VERSION)
|
|
PKG_HASH:=97f6cdaa0724d5a8cd3375d5f5cf4bd253d5ad5291154f533ed0d94a9d501ef3
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:google:protobuf
|
|
|
|
PKG_BUILD_DEPENDS:=protobuf/host
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
define Package/protobuf/Default
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=A structured data encoding library
|
|
URL:=https://github.com/google/protobuf
|
|
DEPENDS:=+zlib +libpthread +libatomic +libstdcpp
|
|
MAINTAINER:=Ken Keys <kkeys@caida.org>
|
|
endef
|
|
|
|
define Package/protobuf
|
|
$(call Package/protobuf/Default)
|
|
DEPENDS+=+protobuf-lite
|
|
endef
|
|
|
|
define Package/protobuf-lite
|
|
$(call Package/protobuf/Default)
|
|
endef
|
|
|
|
define Package/protobuf/description/Default
|
|
Protocol Buffers are a way of encoding structured data in an efficient
|
|
yet extensible format. Google uses Protocol Buffers for almost all
|
|
of its internal RPC protocols and file formats.
|
|
endef
|
|
|
|
define Package/protobuf/description
|
|
$(call Package/protobuf/description/Default)
|
|
|
|
This package provides the libprotoc, libprotobuf, and libprotobuf-lite
|
|
libraries. For a much smaller protobuf package, see "protobuf-lite".
|
|
|
|
endef
|
|
|
|
define Package/protobuf-lite/description
|
|
$(call Package/protobuf/description/Default)
|
|
|
|
This package provides the libprotobuf-lite library.
|
|
|
|
endef
|
|
|
|
EXTRA_CPPFLAGS+=-std=c++11
|
|
CONFIGURE_ARGS += --with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) \
|
|
$(1)/usr/lib \
|
|
$(1)/usr/include
|
|
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/include/* \
|
|
$(1)/usr/include/
|
|
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/* \
|
|
$(1)/usr/lib/
|
|
endef
|
|
|
|
define Package/protobuf-lite/install
|
|
$(INSTALL_DIR) \
|
|
$(1)/usr/lib
|
|
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/libprotobuf-lite.so* \
|
|
$(1)/usr/lib/
|
|
endef
|
|
|
|
define Package/protobuf/install
|
|
$(INSTALL_DIR) \
|
|
$(1)/usr/lib
|
|
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/libprotoc.so* \
|
|
$(1)/usr/lib/
|
|
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/libprotobuf.so* \
|
|
$(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,protobuf))
|
|
$(eval $(call BuildPackage,protobuf-lite))
|
|
$(eval $(call HostBuild))
|