552ba842b7
iwd fails to build since bump of ell to version 0.39 in commit
9988ca9ead
:
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: src/ie.o: in function `ie_parse_data_rates':
ie.c:(.text+0x23ac): undefined reference to `minsize'
This is fixed by
https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=17cf4da72613e80d08d51401399d02683ba8664b
Use official iwd tarball which will contain ell/useful.h header
https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/ChangeLog?h=1.13
Fixes:
- http://autobuild.buildroot.org/results/44e243530cbcec1c88511bb22f5e8e4655c43824
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
################################################################################
|
|
#
|
|
# iwd
|
|
#
|
|
################################################################################
|
|
|
|
IWD_VERSION = 1.13
|
|
IWD_SOURCE = iwd-$(IWD_VERSION).tar.xz
|
|
IWD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/wireless
|
|
IWD_LICENSE = LGPL-2.1+
|
|
IWD_LICENSE_FILES = COPYING
|
|
IWD_CPE_ID_VENDOR = intel
|
|
IWD_CPE_ID_PRODUCT = inet_wireless_daemon
|
|
IWD_SELINUX_MODULES = networkmanager
|
|
|
|
IWD_CONF_OPTS = \
|
|
--disable-manual-pages \
|
|
--enable-external-ell
|
|
IWD_DEPENDENCIES = ell
|
|
|
|
ifeq ($(BR2_PACKAGE_DBUS),y)
|
|
IWD_CONF_OPTS += --enable-dbus-policy --with-dbus-datadir=/usr/share
|
|
IWD_DEPENDENCIES += dbus
|
|
else
|
|
IWD_CONF_OPTS += --disable-dbus-policy
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
# iwd client depends on readline (GPL-3.0+)
|
|
IWD_LICENSE += , GPL-3.0+ (client)
|
|
IWD_CONF_OPTS += --enable-client
|
|
IWD_DEPENDENCIES += readline
|
|
else
|
|
IWD_CONF_OPTS += --disable-client
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
IWD_CONF_OPTS += --enable-systemd-service
|
|
IWD_DEPENDENCIES += systemd
|
|
else
|
|
IWD_CONF_OPTS += --disable-systemd-service
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y)
|
|
IWD_RESOLV_SERVICE = systemd
|
|
else
|
|
IWD_RESOLV_SERVICE = resolvconf
|
|
endif
|
|
|
|
define IWD_INSTALL_CONFIG_FILE
|
|
$(INSTALL) -D -m 644 package/iwd/main.conf $(TARGET_DIR)/etc/iwd/main.conf
|
|
$(SED) 's,__RESOLV_SERVICE__,$(IWD_RESOLV_SERVICE),' $(TARGET_DIR)/etc/iwd/main.conf
|
|
endef
|
|
|
|
IWD_POST_INSTALL_TARGET_HOOKS += IWD_INSTALL_CONFIG_FILE
|
|
|
|
define IWD_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 0755 -D package/iwd/S40iwd \
|
|
$(TARGET_DIR)/etc/init.d/S40iwd
|
|
mkdir -p $(TARGET_DIR)/var/lib/iwd
|
|
ln -sf /tmp/iwd/hotspot $(TARGET_DIR)/var/lib/iwd/hotspot
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|