From f018f897a117cccefd465e25ef4b98510e451291 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 2 Oct 2014 21:55:52 +0200 Subject: [PATCH] package/xenomai: enable or disable debug based on BR2_ENABLE_DEBUG Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- package/xenomai/xenomai.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.30.2