summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tasks/kernel.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/kernel.mk b/tasks/kernel.mk
index 07e989c..73104d2 100644
--- a/tasks/kernel.mk
+++ b/tasks/kernel.mk
@@ -6,9 +6,9 @@ ifneq ($(findstring prebuilt,$(TARGET_TOOLS_PREFIX)),)
# The prebuilt toolchain is way too old to compile
# current kernels - so we use a system wide toolchain
# installation if available.
-KERNEL_TOOLS_PREFIX := $(shell which arm-linux-gnueabi-gcc |sed -e 's,gcc,,')
+KERNEL_TOOLS_PREFIX ?= $(shell which arm-linux-gnueabi-gcc |sed -e 's,gcc,,')
else
-KERNEL_TOOLS_PREFIX := $(shell sh -c "cd $(TOP); cd `dirname $(TARGET_TOOLS_PREFIX)`; pwd")/$(shell basename $(TARGET_TOOLS_PREFIX))
+KERNEL_TOOLS_PREFIX ?= $(shell sh -c "cd $(TOP); cd `dirname $(TARGET_TOOLS_PREFIX)`; pwd")/$(shell basename $(TARGET_TOOLS_PREFIX))
endif
android_kernel: $(PRODUCT_OUT)/u-boot.bin