mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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:
committed by
Thomas Petazzoni
parent
2641edb8c4
commit
822a757456
@@ -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
|
||||
|
||||
@@ -18,7 +18,6 @@ GST1_PLUGINS_BAD_GETTEXTIZE = YES
|
||||
|
||||
GST1_PLUGINS_BAD_CONF_OPTS = \
|
||||
--disable-examples \
|
||||
--disable-debug \
|
||||
--disable-valgrind \
|
||||
--disable-directsound \
|
||||
--disable-wsapi \
|
||||
|
||||
@@ -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 += \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -25,7 +25,6 @@ GSTREAMER1_CONF_OPTS = \
|
||||
--disable-examples \
|
||||
--disable-tests \
|
||||
--disable-failing-tests \
|
||||
--disable-debug \
|
||||
--disable-valgrind \
|
||||
--disable-benchmarks \
|
||||
--disable-check \
|
||||
|
||||
Reference in New Issue
Block a user