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>
This commit is contained in:
Bernd Kuhls
2014-10-19 11:59:01 +02:00
committed by Thomas Petazzoni
parent 2641edb8c4
commit 822a757456
27 changed files with 12 additions and 49 deletions

View File

@@ -10,10 +10,7 @@ GST1_LIBAV_SITE = http://gstreamer.freedesktop.org/src/gst-libav
GST1_LIBAV_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
GST1_LIBAV_CONF_EXTRA_OPTS = \
--cross-prefix=$(TARGET_CROSS) \
--target-os=linux \
$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
GST1_LIBAV_CONF_EXTRA_OPTS = --cross-prefix=$(TARGET_CROSS) --target-os=linux
ifeq ($(BR2_PACKAGE_ZLIB),y)
GST1_LIBAV_CONF_EXTRA_OPTS += --enable-zlib

View File

@@ -18,7 +18,6 @@ GST1_PLUGINS_BAD_GETTEXTIZE = YES
GST1_PLUGINS_BAD_CONF_OPTS = \
--disable-examples \
--disable-debug \
--disable-valgrind \
--disable-directsound \
--disable-wsapi \

View File

@@ -23,8 +23,7 @@ GST1_PLUGINS_BASE_CONF_OPTS = \
--disable-oggtest \
--disable-vorbistest \
--disable-freetypetest \
--disable-valgrind \
--disable-debug
--disable-valgrind
# Options which require currently unpackaged libraries
GST1_PLUGINS_BASE_CONF_OPTS += \

View File

@@ -11,7 +11,6 @@ GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING
GST1_PLUGINS_GOOD_LICENSE = LGPLv2.1+
GST1_PLUGINS_GOOD_CONF_OPTS = \
--disable-debug \
--disable-valgrind \
--disable-examples \
--disable-directsound \

View File

@@ -11,10 +11,7 @@ GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING
# GPL licensed plugins will append to GST1_PLUGINS_UGLY_LICENSE if enabled.
GST1_PLUGINS_UGLY_LICENSE = LGPLv2.1+
GST1_PLUGINS_UGLY_CONF_OPTS = \
--disable-examples \
--disable-debug \
--disable-valgrind
GST1_PLUGINS_UGLY_CONF_OPTS = --disable-examples --disable-valgrind
GST_PLUGINS_BAD1_CONF_OPTS += \
--disable-a52dec \

View File

@@ -25,7 +25,6 @@ GSTREAMER1_CONF_OPTS = \
--disable-examples \
--disable-tests \
--disable-failing-tests \
--disable-debug \
--disable-valgrind \
--disable-benchmarks \
--disable-check \