mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
easy-soc-libs: flag for enabling ctrl iface socket
This commit is contained in:
parent
e86b12fcbd
commit
c354891742
3 changed files with 13 additions and 1 deletions
5
easy-soc-libs/Config.in
Normal file
5
easy-soc-libs/Config.in
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# libeasy configuration
|
||||
|
||||
config LIBWIFI_USE_CTRL_IFACE
|
||||
bool "Use UNIX sockets"
|
||||
default n
|
||||
|
|
@ -13,7 +13,7 @@ PKG_RELEASE:=1
|
|||
LOCAL_DEV=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=539bc55d0ee82b2d7112250fe3643e592d42776a
|
||||
PKG_SOURCE_VERSION:=a002283289194a94b8a44d2434b3c33369a76b64
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/easy-soc-libs.git
|
||||
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
||||
|
|
@ -76,6 +76,9 @@ EASY_SOC_LIBS := \
|
|||
libethernet \
|
||||
libqos
|
||||
|
||||
ifeq ($(CONFIG_LIBWIFI_USE_CTRL_IFACE),y)
|
||||
TARGET_CFLAGS +=-DLIBWIFI_USE_CTRL_IFACE
|
||||
endif
|
||||
|
||||
TARGET_CFLAGS += \
|
||||
-I$(STAGING_DIR)/usr/include \
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ define Package/libeasy
|
|||
DEPENDS+=+libnl +libnl-route
|
||||
endef
|
||||
|
||||
define Package/libeasy/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
|
||||
define Build/InstallDev/libeasy
|
||||
$(INSTALL_DIR) $(1)/usr/include/easy
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue