AndroidKernel.mk: Define the path where the kernel should be installed

We now set the install path for the kernel image if it has not already been
set earlier by the build system.

Change-Id: I88d23916901ae9a96917c138a200d7e1772f02c0
Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
This commit is contained in:
Ameya Thakur 2014-04-04 15:34:30 -07:00 committed by Gerrit - the friendly Code Review server
parent 46086ca3c3
commit ccf456cc77
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
#Android makefile to build kernel as a part of Android Build
PERL = perl
KERNEL_TARGET := $(strip $(INSTALLED_KERNEL_TARGET))
ifeq ($(KERNEL_TARGET),)
INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel
endif
TARGET_KERNEL_ARCH := $(strip $(TARGET_KERNEL_ARCH))
ifeq ($(TARGET_KERNEL_ARCH),)
KERNEL_ARCH := arm