added devmapper, cryptsetup and libpopt
[hdw-linux/hdw-linux.git] / scripts / subroutines
index 7a85069..d62ac8f 100755 (executable)
@@ -201,6 +201,13 @@ output_if_valid()  {
                        echo -en "$stage \t $priority \t\t $dir "
                        echo -e "`basename $package`"
                fi
+               # stage 4 packages (build at the same time)
+               if [ "$stage" = "3" ] ; then
+                       if [ "4-$priority" = "$match" ] ; then
+                               echo -en "4 \t $priority \t\t $dir "
+                               echo -e "`basename $package`"
+                       fi
+               fi
        done
 }
 
@@ -237,6 +244,7 @@ create_buildorder() {
                                for package in ./packages/$dir/[!C]*; do
 
                pkg=`basename $package`
+               [ -f $package -a "$pkg" != "`basename $dir`" ] && continue
                if [ -d $package -a -f $package/$pkg ] ; then
 
                [ -z "`echo $delpackages | grep $dir/$pkg`" ] && \