Mmm-J4 Snod framework/base
MP systemimage
To compile a module, you only need to execute mm in the directory or its subdirectory of your module to compile a separate APK!
Procedure:
1) Open ~ /Add the. baserc file to the source ~ /I850/build/envsetup. Sh. Add the path of your own file. This removes the need to reference this file every time you start a new terminal to execute the MM command.
2) After completing step 1, you can execute mm in your module at will. To use other quick commands, you can view envsetup. sh files, such as cgrep, jgrep, and resgrep, are queried in different types of files. and M, mmm, etc.
3) You can also use ADB push to push your APK to the simulator or mobile terminal, or generate a new system. img in the project root directory through make-Snod.
Compilation Module
An application in AndroidProgramYou can compile it separately. After compilation, You need to regenerate system. IMG.
Run in the android directory
$. Build/envsetup. Sh or
$ Source build/envsetup. sh:
-Croot: Changes directory to the top of the tree.
-M: makes from the top of the tree.
-Mm: builds all of the modules in the current directory.
-Mmm: builds all of the modules in the supplied directories.
-Cgrep: greps on all local C/C ++ files.
-Jgrep: greps on all local java files.
-Resgrep: greps on all local Res/*. XML files.
-Godir: Go to the directory containing a file.
-Printconfig: configuration of the current build.
You can use -- help to view usage