diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-11-06 20:35:13 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-11-09 17:02:07 +0100 |
commit | c9fc5524b9890dcee0566f445b97f796906621eb (patch) | |
tree | 0271fa4fcbbfbbd38733ab4c262295bd79592edc /scripts/lib/ptxd_make_world_install.sh | |
parent | 30dd6ed2a4d43a32c277d4e180da3898f863de25 (diff) | |
download | ptxdist-c9fc5524b9890dcee0566f445b97f796906621eb.tar.gz ptxdist-c9fc5524b9890dcee0566f445b97f796906621eb.tar.xz |
[ptxd_make_world_install] only have two install functions
one for target the other for host and cross pacakges.
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.sh | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh index 8ea7372f4..0978d4c12 100644 --- a/scripts/lib/ptxd_make_world_install.sh +++ b/scripts/lib/ptxd_make_world_install.sh @@ -70,15 +70,6 @@ export -f ptxd_make_world_install_target # -# for cross pkg -# -ptxd_make_world_install_cross() { - ptxd_make_world_install_host -} -export -f ptxd_make_world_install_cross - - -# # for host pkgs # ptxd_make_world_install_host() { @@ -99,6 +90,10 @@ export -f ptxd_make_world_install_host # ptxd_make_world_install() { ptxd_make_world_init && - ptxd_make_world_install_"${pkg_type}" + + case "${pkg_type}" in + target) ptxd_make_world_install_target ;; + *) ptxd_make_world_install_host ;; + esac } export -f ptxd_make_world_install |