Skip to content

buzz75/jcmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#JCMD

##Introduction:

go: Easy change your directory
flash: Easy flash your device
install: Easy install your file

##How to Use:

###1. Add below to your .bashrc:

if [ -n "$BASH_VERSION" ]; then  
    # include .bash_completion if it exists  
    if [ -f "$HOME/jcmd/.bash_completion" ]; then  
        . "$HOME/jcmd/.bash_completion"  
    fi  
fi  

export  PATH=$HOME/jcmd:$PATH  

###2. Put files in your linux

$ cd ~  
$ git clone https://github.com/buzz75/jcmd.git  
$ source ~/.bashrc  

###3. Edit your mycmd config file

3.1 Go to your project home, you can use go

$ emacs ~/.mycmd_conf  
[core]  
project_home = /home/username/project/  <---- 

3.2 Go to your project home, you can use go project

your a9 project at /home/username/project/a9, you can use ezg a9

[project]  
a9 = ics-robin
pm = ics-mr1.1-pm  
log = ../test_log/

3.3 Setting your sub-directory go project subdir

Using "go project sub-directory" to sub-directory
ex. $ go pm i2c

[subdir]  
i2c = kernel/drivers/i2c  
uart = kernel/drivers/tty/serial  
eeprom = kernel/drivers/misc/eeprom  

3.4 Setting your sub-directory for different project

Create section [xxx_dir]
Using ezg project sub-directory to sub-directory
ex. $ ezg project xxx
You also can set default option, if you have many project with same directory

[out_dir]  
prefix = out/target/product  
a9 = a9  
pm = picasso_m  
pmf = picasso_mf  
pre-jb-pmf = picasso_mf  
pe = picasso_e  
pe2 = picasso_e2  
p1 = picasso  
vg = vangogh  

you can use ezg a9 mach, change directory to /home/username/project/a9/kernel/arch/arm/mach-msm

[mach_dir]   
prefix = kernel/arch/arm  
default = mach-tegra  
a9 = mach-msm  
jeff teste bf here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages