summaryrefslogtreecommitdiff
path: root/package/xenomai
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-10-19 11:59:01 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-19 17:07:14 +0200
commit822a757456e8d5f2b68ed8fd9b242efc6327958e (patch)
treee27b8211efe88c3107868d09c5f1515aff1b051f /package/xenomai
parent2641edb8c49e0531af87eb00a35784785d604ec9 (diff)
infra: Move --enable/--disable-debug to package/Makefile.in
A lot of packages ignored BR2_ENABLE_DEBUG. This patch simplifies the handling of this option by adding the corresponding configure option to the global Makefile for target packages. For host packages --disable-debug is added to the global Makefile. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xenomai')
-rw-r--r--package/xenomai/xenomai.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index a1697d348..740a40b96 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -19,8 +19,7 @@ XENOMAI_INSTALL_STAGING = YES
XENOMAI_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-user
XENOMAI_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-user
-XENOMAI_CONF_OPTS += --includedir=/usr/include/xenomai/ --disable-doc-install \
- $(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
+XENOMAI_CONF_OPTS += --includedir=/usr/include/xenomai/ --disable-doc-install
define XENOMAI_REMOVE_DEVFILES
for i in xeno-config xeno-info wrap-link.sh ; do \