mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 04:20:38 -09:00
packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> 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
1d2574ac6f
commit
aaffd209fa
@@ -22,7 +22,7 @@ package, with an example :
|
||||
09: LIBFOO_SITE = http://www.foosoftware.org/download
|
||||
10: LIBFOO_INSTALL_STAGING = YES
|
||||
11: LIBFOO_INSTALL_TARGET = NO
|
||||
12: LIBFOO_CONF_OPT = --disable-shared
|
||||
12: LIBFOO_CONF_OPTS = --disable-shared
|
||||
13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
|
||||
14:
|
||||
15: $(eval $(autotools-package))
|
||||
@@ -96,7 +96,7 @@ cases, typical packages will therefore only use a few of them.
|
||||
* +LIBFOO_CONF_ENV+, to specify additional environment
|
||||
variables to pass to the configure script. By default, empty.
|
||||
|
||||
* +LIBFOO_CONF_OPT+, to specify additional configure
|
||||
* +LIBFOO_CONF_OPTS+, to specify additional configure
|
||||
options to pass to the configure script. By default, empty.
|
||||
|
||||
* +LIBFOO_MAKE+, to specify an alternate +make+
|
||||
|
||||
@@ -22,7 +22,7 @@ with an example :
|
||||
09: LIBFOO_SITE = http://www.foosoftware.org/download
|
||||
10: LIBFOO_INSTALL_STAGING = YES
|
||||
11: LIBFOO_INSTALL_TARGET = NO
|
||||
12: LIBFOO_CONF_OPT = -DBUILD_DEMOS=ON
|
||||
12: LIBFOO_CONF_OPTS = -DBUILD_DEMOS=ON
|
||||
13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
|
||||
14:
|
||||
15: $(eval $(cmake-package))
|
||||
@@ -94,7 +94,7 @@ typical packages will therefore only use a few of them.
|
||||
* +LIBFOO_CONF_ENV+, to specify additional environment variables to
|
||||
pass to CMake. By default, empty.
|
||||
|
||||
* +LIBFOO_CONF_OPT+, to specify additional configure options to pass
|
||||
* +LIBFOO_CONF_OPTS+, to specify additional configure options to pass
|
||||
to CMake. By default, empty.
|
||||
|
||||
* +LIBFOO_MAKE+, to specify an alternate +make+ command. This is
|
||||
|
||||
@@ -101,7 +101,7 @@ cases, typical packages will therefore only use a few of them.
|
||||
environment variables to pass to the +perl Makefile.PL+ or +perl Build.PL+.
|
||||
By default, empty.
|
||||
|
||||
* +PERL_FOO_CONF_OPT+/+HOST_PERL_FOO_CONF_OPT+, to specify additional
|
||||
* +PERL_FOO_CONF_OPTS+/+HOST_PERL_FOO_CONF_OPTS+, to specify additional
|
||||
configure options to pass to the +perl Makefile.PL+ or +perl Build.PL+.
|
||||
By default, empty.
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ blank line is mandatory after the header:
|
||||
+
|
||||
---------------------
|
||||
LIBFOO_VERSION = 1.0
|
||||
LIBFOO_CONF_OPT += --without-python-support
|
||||
LIBFOO_CONF_OPTS += --without-python-support
|
||||
---------------------
|
||||
+
|
||||
Do not align the +=+ signs.
|
||||
@@ -90,17 +90,17 @@ YES:
|
||||
+
|
||||
---------------------
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
LIBFOO_CONF_OPT += --with-python-support
|
||||
LIBFOO_CONF_OPTS += --with-python-support
|
||||
LIBFOO_DEPENDENCIES += python
|
||||
else
|
||||
LIBFOO_CONF_OPT += --without-python-support
|
||||
LIBFOO_CONF_OPTS += --without-python-support
|
||||
endif
|
||||
---------------------
|
||||
+
|
||||
NO:
|
||||
+
|
||||
---------------------
|
||||
LIBFOO_CONF_OPT += --with$(if $(BR2_PACKAGE_PYTHON),,out)-python-support
|
||||
LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON),,out)-python-support
|
||||
LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,)
|
||||
---------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user