neardal is licensed under LGPL-2.0, which is (most likely) not license
compatible with readline (GPL-3.0+), so always use the libedit backend.
The choice is done by ./configure, which first checks for libedit, and
uses readline only as a fallback. Since we do build libedit before
neardal, that's what is going to be picked up.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[yann.morin.1998@free.fr:
- add blurb about preference in ./configure
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 93e9b5378d
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
25 lines
707 B
Makefile
25 lines
707 B
Makefile
################################################################################
|
|
#
|
|
# neardal
|
|
#
|
|
################################################################################
|
|
|
|
NEARDAL_VERSION = 33b54a55032b047fd885a5eb3592c169c0056c49
|
|
NEARDAL_SITE = $(call github,connectivity,neardal,$(NEARDAL_VERSION))
|
|
NEARDAL_INSTALL_STAGING = YES
|
|
NEARDAL_LICENSE = LGPL-2.0
|
|
NEARDAL_LICENSE_FILES = COPYING
|
|
|
|
NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib libedit
|
|
NEARDAL_AUTORECONF = YES
|
|
|
|
define NEARDAL_INSTALL_NCL
|
|
$(INSTALL) -m 0755 -D $(@D)/ncl/ncl $(TARGET_DIR)/usr/bin/ncl
|
|
endef
|
|
|
|
ifeq ($(BR2_PACKAGE_NEARDAL_NCL),y)
|
|
NEARDAL_POST_INSTALL_TARGET_HOOKS += NEARDAL_INSTALL_NCL
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|