tazwok rev 242
Hack build-depends/gen-cooklist, gen-cooklist is now the (more logical) way to get toolchain cooklist.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Feb 11 12:42:12 2011 +0100 (2011-02-11) |
parents | c49dfdbcab2b |
children | 54c47afef11a |
files | tazwok |
line diff
1.1 --- a/tazwok Fri Feb 11 00:39:20 2011 +0100 1.2 +++ b/tazwok Fri Feb 11 12:42:12 2011 +0100 1.3 @@ -2047,10 +2047,7 @@ 1.4 # List dependencies to rebuild wok, or only a package 1.5 get_tazwok_config 1.6 report(){ : ; } 1.7 - if [ "$PACKAGE" = toolchain-cooklist ]; then 1.8 - scan "$SLITAZ_TOOLCHAIN $SLITAZ_TOOLCHAIN_EXTRA" \ 1.9 - --cooklist 1.10 - elif [ ! "$PACKAGE" ] || [ "$PACKAGE" = toolchain ]; then 1.11 + if [ ! "$PACKAGE" ] || [ "$PACKAGE" = toolchain ]; then 1.12 scan "$SLITAZ_TOOLCHAIN $SLITAZ_TOOLCHAIN_EXTRA" \ 1.13 --look_for=dep --with_dev --with_args 1.14 else 1.15 @@ -2064,9 +2061,12 @@ 1.16 get_tazwok_config 1.17 report(){ : ; } 1.18 if ! [ "$pkg" ]; then 1.19 - cooklist=${LIST:-$PACKAGES_REPOSITORY/cooklist} 1.20 + if [ ! "$LIST" ] || [ "$LIST" = toolchain ]; then 1.21 + pkg="$SLITAZ_TOOLCHAIN $SLITAZ_TOOLCHAIN_EXTRA" 1.22 + else 1.23 + cooklist=${LIST:-$PACKAGES_REPOSITORY/cooklist} 1.24 + fi 1.25 fi 1.26 - forced=yes 1.27 gen_cook_list 1.28 ;; 1.29 check-depends)