mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-01 01:13:29 +08:00
neardal: add support for ncl tool
[Peter: move directly under neardal option so it gets indented] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
ae760aa7d0
commit
cfe3f67df3
@ -11,5 +11,11 @@ config BR2_PACKAGE_NEARDAL
|
||||
|
||||
https://github.com/connectivity/neardal
|
||||
|
||||
config BR2_PACKAGE_NEARDAL_NCL
|
||||
bool "ncl tool"
|
||||
depends on BR2_PACKAGE_NEARDAL
|
||||
help
|
||||
Build and install neardal ncl command line interpreter tool.
|
||||
|
||||
comment "neardal requires a toolchain with WCHAR and threads support"
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
@ -14,4 +14,12 @@ NEARDAL_LICENSE_FILES = COPYING
|
||||
NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user