summaryrefslogtreecommitdiff
path: root/package/Makefile.in
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/Makefile.in
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/Makefile.in')
-rw-r--r--package/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index ab59b54e5..02ddaa716 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -370,7 +370,7 @@ endif
ifeq ($(BR2_ENABLE_DEBUG),y)
ENABLE_DEBUG := --enable-debug
else
-ENABLE_DEBUG :=
+ENABLE_DEBUG := --disable-debug
endif
ifeq ($(BR2_PREFER_STATIC_LIB),y)