diff options
author | Simon Dawson <spdawson@gmail.com> | 2013-04-26 00:25:26 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-04-26 12:39:18 +0200 |
commit | cfe3f67df38063ba9024d241c0317e51e5beacc7 (patch) | |
tree | 7257fdbfc2e98a503fad93920ebaf8f79ea5fade | |
parent | ae760aa7d0cc4a3746539734f0d03f3bb86284a3 (diff) | |
download | buildroot-novena-cfe3f67df38063ba9024d241c0317e51e5beacc7.tar.gz buildroot-novena-cfe3f67df38063ba9024d241c0317e51e5beacc7.zip |
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>
-rw-r--r-- | package/neardal/Config.in | 6 | ||||
-rw-r--r-- | package/neardal/neardal.mk | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/package/neardal/Config.in b/package/neardal/Config.in index 045ccee16..76b5ffa50 100644 --- a/package/neardal/Config.in +++ b/package/neardal/Config.in @@ -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 diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk index 9625f0ebf..b937acb81 100644 --- a/package/neardal/neardal.mk +++ b/package/neardal/neardal.mk @@ -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)) |