Build System

Build System is designed to build distributions of different operating systems for a set of target devices.

319 Commits   6 Branches   24 Tags   |
Index: build-system-1.8.x/build-pkglist
===================================================================
--- build-system-1.8.x/build-pkglist	(revision 316)
+++ build-system-1.8.x/build-pkglist	(revision 317)
@@ -314,6 +314,7 @@
   my $dir = shift;
 
   my $package = "";
+  my $proddir = $topdir . "/dist/products/" . $toolchain . "/" . $hardware;
   my $dist    = $topdir . "/" . $dir . "/" . $target_build_dir . "/.dist";
   my $patern;
 
@@ -331,7 +332,8 @@
     {
       if( $line =~ /$patern/ )
       {
-        $package = $1;
+        # Existing packages only:
+        if( -f $proddir . "/" . $1 ) { $package = $1; }
       }
     }
     close FILE;