[Buildroot] [git commit] make: depend on guile explicitly when available

Peter Korsgaard peter at korsgaard.com
Thu Feb 26 22:25:03 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=38ee8a8e1651f1de2b2698e4c6bce2e488001cdb
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/make/make.mk |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/package/make/make.mk b/package/make/make.mk
index d643fb0..6e7a8f1 100644
--- a/package/make/make.mk
+++ b/package/make/make.mk
@@ -16,4 +16,11 @@ ifeq ($(BR2_STATIC_LIBS),y)
 	MAKE_CONF_OPTS += --disable-load
 endif
 
+ifeq ($(BR2_PACKAGE_GUILE),y)
+MAKE_DEPENDENCIES += guile
+MAKE_CONF_OPTS += --with-guile
+else
+MAKE_CONF_OPTS += --without-guile
+endif
+
 $(eval $(autotools-package))


More information about the buildroot mailing list