AndroidKernel.mk: Use Android's prebuilt "make" if available
Switch to using the prebuilt "make" in Android's tree if available. The Android build system has reduced out-of-tree/host system module dependency. Change-Id: I40e8592e162f0b607f96dd31cc8785af3093e485 Signed-off-by: David Ng <dave@codeaurora.org>
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
#Android makefile to build kernel as a part of Android Build
|
#Android makefile to build kernel as a part of Android Build
|
||||||
PERL = perl
|
PERL = perl
|
||||||
|
|
||||||
|
ifneq ($(wildcard prebuilts/build-tools/$(HOST_PREBUILT_TAG)/bin/make),)
|
||||||
|
MAKE := prebuilts/build-tools/$(HOST_PREBUILT_TAG)/bin/make
|
||||||
|
endif
|
||||||
|
|
||||||
KERNEL_TARGET := $(strip $(INSTALLED_KERNEL_TARGET))
|
KERNEL_TARGET := $(strip $(INSTALLED_KERNEL_TARGET))
|
||||||
ifeq ($(KERNEL_TARGET),)
|
ifeq ($(KERNEL_TARGET),)
|
||||||
INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel
|
INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel
|
||||||
|
|||||||
Reference in New Issue
Block a user