aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
blob: e9cb0892d9b50b987b3f6a26a2d3919fb59f7a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This Android.mk is experimental. And possibly the worst
# makefile on the planet.
#
# The purpose of this file is to allow users to run 'mm' to
# rebuild the kernel from this tree. 'mm' is a faster command
# because it instructs the Android build system to not read
# every Android.mk file (and hence not check all dependencies).
# The benefit is that the user is able to essentially directly
# compile the kernel.
#
# Make sure to use the '-j' option when running 'mm' to spawn
# multiple jobs and speed up your build. For example:
#
# cd $ANDROID_BUILD_TOP
# mmm -j32 kernel
#

ifneq ($(ONE_SHOT_MAKEFILE),)

include build/target/board/Android.mk
include kernel/AndroidKernel.mk

ALL_MODULES += bootimage

endif