world leader in high performance signal processing
Trace:

Differences

This shows you the differences between two versions of the page.

an_introduction_to_quilt_tool [2008/11/12 14:52]
vapier punt stub page
an_introduction_to_quilt_tool [2009/05/13 14:55] (current)
philwil created
Line 1: Line 1:
-====== An introduction to quilt tool ====== +Very Quick introduction to quilt
-  This doc tries to explain how to use the quilt tool to manage patches for Blackfin linux kernel.  +
  
-===== Install ===== +(Please format this etcI'll do it when I have time - Phil)
-  to be done..+
  
-===== Usage =====+1/ create a directory in your top level called "patches"  
 +This will collect all the patches that you generate using quilt 
 +  example: 
 +   mkdir patches
  
 +2/ Type "quilt new <patch name>"
 + 
 +  example:
 +   quilt new mynewdriver.patch
 +
 +   this will tell quilt the name of the patch
 +
 +3/ BEFORE you edit something add the file to quilt
 +    quilt add <somefilename>
 +
 +   example:
 +    quilt add linux-2.6.x/drivers/char/mystuff/mydriver.c
 + 
 +   OR use
 +    quilt edit 
 +   example:
 +    EDITOR=emacs quilt edit linux-2.6.x/drivers/char/mystuff/mydriver.c
 +  
 +   NOTE you will have to create the directory linux-2.6.x/drivers/char/mystuff
 +         before you save the file
 +         "mkdir -p linux-2.6.x/drivers/char/mystuff"
 +
 +4/ You can see all the files managed by quilt
 +     quilt files
 +
 +5/ You can see all the patches managed by quilt
 +     quilt series
 +
 +6/ To create the patch use the "quilt refresh" command
 +     quilt refresh
 +
 +7/ To remove the  patch ( go back one version )
 +     quilt pop
 +
 +8/ To add the  patch again ( go up one version )
 +     quilt push
 +
 +9/ To start a new patch
 +     quilt new <new patch name>
 +
 +
 + 
 +
 +