mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
manual: give example where _INSTALL_TARGET = NO
The tutorial for autotools-package and cmake-package currently gives the bad example of setting _INSTALL_TARGET to YES, which is the default. So change this into an example with _INSTALL_TARGET = NO, and explain in which case this is relevant. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
13562ddd2a
commit
50b32848c2
@ -21,8 +21,8 @@ package, with an example :
|
|||||||
07: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
|
07: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
|
||||||
08: LIBFOO_SITE = http://www.foosoftware.org/download
|
08: LIBFOO_SITE = http://www.foosoftware.org/download
|
||||||
09: LIBFOO_INSTALL_STAGING = YES
|
09: LIBFOO_INSTALL_STAGING = YES
|
||||||
10: LIBFOO_INSTALL_TARGET = YES
|
10: LIBFOO_INSTALL_TARGET = NO
|
||||||
11: LIBFOO_CONF_OPT = --enable-shared
|
11: LIBFOO_CONF_OPT = --disable-shared
|
||||||
12: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
|
12: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
|
||||||
13:
|
13:
|
||||||
14: $(eval $(autotools-package))
|
14: $(eval $(autotools-package))
|
||||||
@ -44,13 +44,13 @@ other libraries or applications depending on them. Also by default, when
|
|||||||
staging installation is enabled, packages are installed in this location
|
staging installation is enabled, packages are installed in this location
|
||||||
using the +make install+ command.
|
using the +make install+ command.
|
||||||
|
|
||||||
On line 10, we tell Buildroot to also install the package to the
|
On line 10, we tell Buildroot to not install the package to the
|
||||||
target directory. This directory contains what will become the root
|
target directory. This directory contains what will become the root
|
||||||
filesystem running on the target. Usually, we try not to install header
|
filesystem running on the target. For purely static libraries, it is
|
||||||
files and to install stripped versions of the binary. By default, target
|
not necessary to install them in the target directory because they will
|
||||||
installation is enabled, so in fact, this line is not strictly
|
not be used at runtime. By default, target installation is enabled; setting
|
||||||
necessary. Also by default, packages are installed in this location
|
this variable to NO is almost never needed. Also by default, packages are
|
||||||
using the +make install+ command.
|
installed in this location using the +make install+ command.
|
||||||
|
|
||||||
On line 11, we tell Buildroot to pass a custom configure option, that
|
On line 11, we tell Buildroot to pass a custom configure option, that
|
||||||
will be passed to the +./configure+ script before configuring
|
will be passed to the +./configure+ script before configuring
|
||||||
|
@ -21,7 +21,7 @@ with an example :
|
|||||||
07: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
|
07: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
|
||||||
08: LIBFOO_SITE = http://www.foosoftware.org/download
|
08: LIBFOO_SITE = http://www.foosoftware.org/download
|
||||||
09: LIBFOO_INSTALL_STAGING = YES
|
09: LIBFOO_INSTALL_STAGING = YES
|
||||||
10: LIBFOO_INSTALL_TARGET = YES
|
10: LIBFOO_INSTALL_TARGET = NO
|
||||||
11: LIBFOO_CONF_OPT = -DBUILD_DEMOS=ON
|
11: LIBFOO_CONF_OPT = -DBUILD_DEMOS=ON
|
||||||
12: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
|
12: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
|
||||||
13:
|
13:
|
||||||
@ -44,13 +44,13 @@ other libraries or applications depending on them. Also by default, when
|
|||||||
staging installation is enabled, packages are installed in this location
|
staging installation is enabled, packages are installed in this location
|
||||||
using the +make install+ command.
|
using the +make install+ command.
|
||||||
|
|
||||||
On line 10, we tell Buildroot to also install the package to the
|
On line 10, we tell Buildroot to not install the package to the
|
||||||
target directory. This directory contains what will become the root
|
target directory. This directory contains what will become the root
|
||||||
filesystem running on the target. Usually, we try not to install header
|
filesystem running on the target. For purely static libraries, it is
|
||||||
files and to install stripped versions of the binary. By default, target
|
not necessary to install them in the target directory because they will
|
||||||
installation is enabled, so in fact, this line is not strictly
|
not be used at runtime. By default, target installation is enabled; setting
|
||||||
necessary. Also by default, packages are installed in this location
|
this variable to NO is almost never needed. Also by default, packages are
|
||||||
using the +make install+ command.
|
installed in this location using the +make install+ command.
|
||||||
|
|
||||||
On line 11, we tell Buildroot to pass custom options to CMake when it is
|
On line 11, we tell Buildroot to pass custom options to CMake when it is
|
||||||
configuring the package.
|
configuring the package.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user