From: Romain Naour Date: Thu, 2 Oct 2014 19:55:52 +0000 (+0200) Subject: package/xenomai: enable or disable debug based on BR2_ENABLE_DEBUG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f018f897a117cccefd465e25ef4b98510e451291;p=buildroot.git package/xenomai: enable or disable debug based on BR2_ENABLE_DEBUG Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- 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 \