Update of /cvsroot/leaf/src/bering-uclibc4/buildtool
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv3944

Modified Files:
        buildpacket.pl 
Log Message:
Added __KVER__ variable to path (TODO: get __KVER__ from kernel config)


Index: buildpacket.pl
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/buildtool/buildpacket.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** buildpacket.pl      22 May 2010 21:21:06 -0000      1.3
--- buildpacket.pl      11 Jun 2010 16:48:00 -0000      1.4
***************
*** 30,33 ****
--- 30,35 ----
  # uclibc Version
  my $version = "0.9.30.3";
+ # kernel Version
+ my $kver = "2.6.32.10";
  # archivers for different package type
  my $initrd_pkr="gzip";
***************
*** 526,529 ****
--- 528,532 ----
  
                        my $source_filename = 
File::Spec->catfile($build_dir,$p_h_file->{'source'});
+                       $source_filename =~ s/__KVER__/$kver/g;
  
                        my $destination_filename; 
***************
*** 544,547 ****
--- 547,552 ----
                        }
                        
+                       $destination_path =~ s/__KVER__/$kver/g;
+ 
  
                        # create the target directory, if it doesn't exist


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to