mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-09 23:34:51 +01:00
29 lines
667 B
Makefile
29 lines
667 B
Makefile
|
|
define Package/libwifi
|
|
$(call Package/easy-soc-libs)
|
|
TITLE:= WiFi library (libwifi)
|
|
DEPENDS+=+libnl +libnl-route +libeasy +TARGET_brcmbca:bcmkernel
|
|
endef
|
|
|
|
define Package/libwifi/config
|
|
if PACKAGE_libdsl
|
|
config LIBWIFI_DEBUG
|
|
depends on PACKAGE_libwifi
|
|
bool "Enable wifi debugging"
|
|
default n
|
|
|
|
endif
|
|
endef
|
|
|
|
define Build/InstallDev/libwifi
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_BUILD_DIR)/libwifi/wifi.h $(1)/usr/include/
|
|
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi*.so* $(1)/usr/lib/
|
|
endef
|
|
|
|
define Package/libwifi/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_BUILD_DIR)/libwifi/libwifi*.so* $(1)/usr/lib/
|
|
endef
|
|
|