最終更新:2015-07-18 (土) 00:42:30 (3199d)
mm
Top / mm
Linuxカーネル/ソースコード
- Linuxカーネル/ソースコード/mm?
Android
Builds all of the modules in the current directory, but not their dependencies.
function mm() { # If we're sitting in the root of the build tree, just do a # normal make. if [ -f build/core/envsetup.mk -a -f Makefile ]; then make $@ else # Find the closest Android.mk file. T=$(gettop) local M=$(findmakefile) # Remove the path to top as the makefilepath needs to be relative local M=`echo $M|sed 's:'$T'/::'` if [ ! "$T" ]; then echo "Couldn't locate the top of the tree. Try setting TOP." elif [ ! "$M" ]; then echo "Couldn't locate a makefile from the current directory." else ONE_SHOT_MAKEFILE=$M make -C $T -f build/core/main.mk all_modules $@ fi fi }