Commit 822a7574 authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Thomas Petazzoni
Browse files

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: default avatarBernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 2641edb8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
+0 −4
Original line number Diff line number Diff line
@@ -49,10 +49,6 @@ ifneq ($(BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS),y)
ALSA_LIB_CONF_OPTS += --disable-old-symbols
endif

ifeq ($(BR2_ENABLE_DEBUG),y)
ALSA_LIB_CONF_OPTS += --enable-debug
endif

ifeq ($(BR2_avr32),y)
ALSA_LIB_CFLAGS += -DAVR32_INLINE_BUG
endif
+1 −2
Original line number Diff line number Diff line
@@ -41,8 +41,7 @@ ATK_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes \
		jm_cv_func_working_re_compile_pattern=yes ac_use_included_regex=no \
		gl_cv_c_restrict=no ac_cv_prog_F77=no

ATK_CONF_OPTS =  --disable-glibtest --enable-explicit-deps=no \
		--disable-debug
ATK_CONF_OPTS =  --disable-glibtest --enable-explicit-deps=no

ATK_DEPENDENCIES = libglib2 host-pkgconf

+0 −1
Original line number Diff line number Diff line
@@ -144,7 +144,6 @@ endif

HOST_DIRECTFB_DEPENDENCIES = host-pkgconf host-libpng
HOST_DIRECTFB_CONF_OPTS = \
		--disable-debug \
		--disable-multi \
		--enable-png \
		--with-gfxdrivers=none \
+0 −6
Original line number Diff line number Diff line
@@ -66,12 +66,6 @@ FFMPEG_CONF_OPTS = \

FFMPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf

ifeq ($(BR2_ENABLE_DEBUG),y)
FFMPEG_CONF_OPTS += --enable-debug
else
FFMPEG_CONF_OPTS += --disable-debug
endif

ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
FFMPEG_CONF_OPTS += --enable-gpl
else
Loading