kumquat-buildroot/docs/manual
Stefan Fröberg 834f9311aa pkg-infra: add <pkg>_CONFIG_FIXUP to fix *-config files
This patch will add <pkg>_CONFIG_FIXUP variable to buildroot infra.

It's purpose is to inform buildroot that the package in question
contains some $(STAGING_DIR)/usr/bin/*-config files and that we
want to automatically fix prefixes of such files.

It is often the case that many packages call these
files during their configuration step to determine 3rd party
library package locations and any flags needed to link against them.

For example:
Some package might try to check the existense and linking flags
of NSPR package by calling $(STAGING_DIR)/usr/bin/nspr-config --prefix.
Without this fix. NSPR would return /usr/ as it's prefix which is
wrong when cross-compiling.
Correct would be $(STAGING_DIR)/usr.

All packages that have <pkg>_INSTALL_STAGING = YES defined and
also install some config file(s) into $(STAGING_DIR)/usr/bin must
hereafter also define <pkg>_CONFIG_FIXUP with the correspondig
filename(s).

For example:

DIVINE_CONFIG_FIXUP = divine-config

or for multiple files:

IMAGEMAGICK_CONFIG_FIXUP = Magick-config Wand-config

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-04 23:47:34 +01:00
..
adding-packages-autotools.txt manual: give example where _INSTALL_TARGET = NO 2012-11-27 17:07:52 -08:00
adding-packages-cmake.txt manual: give example where _INSTALL_TARGET = NO 2012-11-27 17:07:52 -08:00
adding-packages-conclusion.txt manual: various fixes 2012-11-27 17:07:42 -08:00
adding-packages-directory.txt manual: restructure 'Adding packages' chapter 2012-11-27 17:08:07 -08:00
adding-packages-generic.txt pkg-infra: add <pkg>_CONFIG_FIXUP to fix *-config files 2013-02-04 23:47:34 +01:00
adding-packages-gettext.txt manual: various fixes 2012-11-27 17:07:42 -08:00
adding-packages-tips.txt manual: various fixes 2012-11-27 17:07:42 -08:00
adding-packages.txt manual: add adding-package-tips.txt 2012-11-15 23:59:54 +01:00
advanced.txt docs/manual: add details on toolchain configuration 2012-12-29 22:42:31 +01:00
appendix.txt manual: add pkg-list.txt (generated list of available packages) 2012-11-15 23:59:55 +01:00
beyond-buildroot.txt manual: various fixes 2012-11-27 17:07:42 -08:00
board-support.txt manual: various fixes 2012-11-27 17:07:42 -08:00
ccache-support.txt manual: rework the whole documentation stub 2012-11-15 23:58:38 +01:00
common-usage.txt manual: trivial fixes 2012-11-27 17:07:39 -08:00
configure.txt docs/manual: add details on toolchain configuration 2012-12-29 22:42:31 +01:00
contribute.txt manual: minor tweaks 2012-11-16 22:24:42 +01:00
customize-busybox-config.txt manual: rework the whole documentation stub 2012-11-15 23:58:38 +01:00
customize-kernel-config.txt manual: rework the whole documentation stub 2012-11-15 23:58:38 +01:00
customize-rootfs.txt Makefile: don't export O to the environment 2013-01-14 10:04:21 +01:00
customize-toolchain.txt manual: various fixes 2012-11-27 17:07:42 -08:00
customize-uclibc-config.txt manual: trivial fixes 2012-11-27 17:07:39 -08:00
customize.txt manual: rework the whole documentation stub 2012-11-15 23:58:38 +01:00
deprecated-list.txt manual: add deprecated-list.txt 2012-11-15 23:59:55 +01:00
developer-guide.txt manual: add patch-policy.txt 2012-11-15 23:59:54 +01:00
download-infra.txt manual: add download-infra.txt 2012-11-15 23:59:54 +01:00
download-location.txt docs/manual: do not suggest to create a symlink for shared download directory 2012-12-29 22:42:41 +01:00
eclipse-integration.txt docs/manual: mention the Eclipse integration 2013-01-14 16:33:33 +01:00
faq-troubleshooting.txt docs/manual: remove FAQ entry about 'depends on' vs. 'select' 2012-12-29 22:42:34 +01:00
get-involved.txt manual: minor tweaks 2012-11-16 22:24:42 +01:00
getting.txt manual: rework the whole documentation stub 2012-11-15 23:58:38 +01:00
going-further.txt docs/manual: add details on toolchain configuration 2012-12-29 22:42:31 +01:00
how-buildroot-works.txt manual: various fixes 2012-11-27 17:07:42 -08:00
introduction.txt docs/manual: Slightly improve the introduction 2012-12-29 22:42:26 +01:00
legal-notice.txt manual: various fixes 2012-11-27 17:07:42 -08:00
make-tips.txt manual: trivial fixes 2012-11-27 17:07:39 -08:00
makedev-syntax.txt manual: various fixes 2012-11-27 17:07:42 -08:00
manual.mk manual: set toc depth to 4 for html outputs 2012-11-15 23:49:57 +01:00
manual.txt manual: add beyond-buildroot.txt 2012-11-15 23:59:55 +01:00
package-make-target.txt manual: various fixes 2012-11-27 17:07:42 -08:00
patch-policy.txt manual: various fixes 2012-11-27 17:07:42 -08:00
pkg-list.txt manual: add pkg-list.txt (generated list of available packages) 2012-11-15 23:59:55 +01:00
prerequisite.txt docs/manual: mention Java-related optional dependencies 2012-12-29 22:42:38 +01:00
rebuilding-packages.txt manual: various fixes 2012-11-27 17:07:42 -08:00
starting-up.txt manual: add prerequisite.txt 2012-11-15 23:58:49 +01:00
using-buildroot-toolchain.txt manual: rework the whole documentation stub 2012-11-15 23:58:38 +01:00
using.txt manual: more warnings to not use output/target 2012-11-27 17:07:47 -08:00
working-with.txt docs/manual: mention the Eclipse integration 2013-01-14 16:33:33 +01:00
writing-rules.txt manual: various fixes 2012-11-27 17:07:42 -08:00