summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_install.sh
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-11-04 16:42:41 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-11-06 09:39:45 +0100
commit269ece6b2309e87cd11fe47f0f8021f0a337b05f (patch)
tree70773ae43fdd31f549a461ef34575b32262ff1ac /scripts/lib/ptxd_make_world_install.sh
parent090094f85317cd9de45e0ff611dbf3fb38daee85 (diff)
downloadptxdist-269ece6b2309e87cd11fe47f0f8021f0a337b05f.tar.gz
ptxdist-269ece6b2309e87cd11fe47f0f8021f0a337b05f.tar.xz
[ptxd_make_world] new variable <PKG>_INSTALL_OPT
The install stage consists basically of: make DESTDIR=<PKG>_PKGDIR <PKG>_INSTALL_OPT With default "install" for <PKG>_INSTALL_OPT. This can be overwritten or extended from a pacakge. There are (at least) two reasons for this: 1) "make install" installs too mouch, you don't want to install everything. example: MII_DIAG_INSTALL_OPT := install-mii-diag 2) The package doesn't understand DESTDIR. It uses INSTALL_ROOT instead. example: QT4_INSTALL_OPT := INSTALL_ROOT=$(QT4_PKGDIR) The variable <PKG>_PKGDIR comes predefined from PTXdist and can be used. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_install.sh')
-rw-r--r--scripts/lib/ptxd_make_world_install.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh
index 08f04d364..7b09037c6 100644
--- a/scripts/lib/ptxd_make_world_install.sh
+++ b/scripts/lib/ptxd_make_world_install.sh
@@ -8,8 +8,6 @@
#
#
-# $1: destdir
-#
# in:
# $echo optional
# $fakeroot optional
@@ -25,8 +23,8 @@ ptxd_make_world_install_pkg() {
"${MAKE}" \
-C "${pkg_build_dir}" \
"${pkg_install_opt}" \
- install -j1 \
- DESTDIR="${1}" | "${fakeroot:-fakeroot}" --
+ -j1 \
+ | "${fakeroot:-fakeroot}" --
check_pipe_status
}
export -f ptxd_make_world_install_pkg