diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-06-29 13:35:05 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-07-01 08:22:24 +0200 |
commit | 201c48eb384a95f5029b5b99bdc10e41949d564e (patch) | |
tree | 069137ab722ce957944046c8e3d7ae4db0e25787 | |
parent | e18b0c8f3ac765e0373a1c33140afee0b59f07b4 (diff) | |
download | ptxdist-201c48eb384a95f5029b5b99bdc10e41949d564e.tar.gz ptxdist-201c48eb384a95f5029b5b99bdc10e41949d564e.tar.xz |
doc: use s/FOO_AUTOCONF/FOO_CONF_OPT/
<PKG>_AUTOCONF is deprecated. Use <PKG>_CONF_OPT instead.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | doc/dev_manual.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst index 0835f2764..1e500f9fb 100644 --- a/doc/dev_manual.rst +++ b/doc/dev_manual.rst @@ -745,14 +745,14 @@ We now want to forward these options to the ``configure`` script when it runs in the *prepare* stage. To do so, we must again open the rule file with our favourite editor and navigate to the *prepare* stage entry. -PTXdist uses the variable ``FOO_AUTOCONF`` as the list of parameters to +PTXdist uses the variable ``FOO_CONF_OPT`` as the list of parameters to be given to ``configure``. Currently this variable is commented out and defined to: :: - # FOO_AUTOCONF := $(CROSS_AUTOCONF_USR) + # FOO_CONF_OPT := $(CROSS_AUTOCONF_USR) The variable ``CROSS_AUTOCONF_USR`` is predefined by PTXdist and contains all basic parameters to instruct ``configure`` to prepare for a @@ -763,7 +763,7 @@ in this line and supplement this expression as follows: :: - FOO_AUTOCONF := $(CROSS_AUTOCONF_USR) \ + FOO_CONF_OPT := $(CROSS_AUTOCONF_USR) \ --enable-debug \ --with-bar @@ -775,7 +775,7 @@ To do a fast check if this addition was successful, we run: :: - $ ptxdist print FOO_AUTOCONF + $ ptxdist print FOO_CONF_OPT --prefix=/usr --sysconfdir=/etc --host=|ptxdistCompilerName| --build=i686-host-linux-gnu --enable-debug --with-bar .. note:: It depends on the currently selected platform and its architecture @@ -843,18 +843,18 @@ file and add the correct parameters: # # autoconf # - FOO_AUTOCONF := $(CROSS_AUTOCONF_USR) + FOO_CONF_OPT := $(CROSS_AUTOCONF_USR) ifdef PTXCONF_FOO_DEBUG - FOO_AUTOCONF += --enable-debug + FOO_CONF_OPT += --enable-debug else - FOO_AUTOCONF += --disable-debug + FOO_CONF_OPT += --disable-debug endif ifdef PTXCONF_FOO_BAR - FOO_AUTOCONF += --with-bar + FOO_CONF_OPT += --with-bar else - FOO_AUTOCONF += --without-bar + FOO_CONF_OPT += --without-bar endif .. important:: Please note the trailing ``PTXCONF_`` for each define. While Kconfig is @@ -881,7 +881,7 @@ much simpler: # # autoconf # - FOO_AUTOCONF := $(CROSS_AUTOCONF_USR) \ + FOO_CONF_OPT := $(CROSS_AUTOCONF_USR) \ $(call ptx/endis, PTXCONF_FOO_DEBUG)-debug \ $(call ptx/wwo, PTXCONF_FOO_BAR)-bar |