aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@openwide.fr>2014-10-02 21:55:52 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-03 22:08:56 +0200
commitf018f897a117cccefd465e25ef4b98510e451291 (patch)
treed611fd2024acab59401383732ffefc40732c23db /package
parentc63d990219cd988210de2868f7a583e789b65217 (diff)
downloadbuildroot-f018f897a117cccefd465e25ef4b98510e451291.tar.gz
buildroot-f018f897a117cccefd465e25ef4b98510e451291.tar.bz2
package/xenomai: enable or disable debug based on BR2_ENABLE_DEBUG
Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/xenomai/xenomai.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index f360c2a909..4bc0871bda 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 \