[Buildroot] [git commit] package/xenomai: enable or disable debug based on BR2_ENABLE_DEBUG

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Oct 3 20:08:56 UTC 2014


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

Signed-off-by: Romain Naour <romain.naour at openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/xenomai/xenomai.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index f360c2a..4bc0871 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -19,7 +19,8 @@ XENOMAI_INSTALL_STAGING = YES
 XENOMAI_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-user
 XENOMAI_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install-user
 
-XENOMAI_CONF_OPT += --includedir=/usr/include/xenomai/ --disable-doc-install
+XENOMAI_CONF_OPT += --includedir=/usr/include/xenomai/ --disable-doc-install \
+	$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
 
 define XENOMAI_REMOVE_DEVFILES
 	for i in xeno-config xeno-info wrap-link.sh ; do \


More information about the buildroot mailing list