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>
This commit is contained in:
Romain Naour 2014-10-02 21:55:52 +02:00 committed by Thomas Petazzoni
parent c63d990219
commit f018f897a1

View File

@ -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 \