diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-08-02 17:42:22 +0200 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-08-02 17:42:22 +0200 |
commit | 5ed7c51338719282adb9bfcd20b7e299636ea90f (patch) | |
tree | f3cd25006b3b006c0561882f53dc8b1d390d071b /tasks/kernel.mk | |
parent | c8a58316adc031cdd96a9eecde1dc2a0b66c287a (diff) |
kernel.mk: Allow building with AOSP toolchain unconditionally
The AOSP toolchain should be good enough for most kernels these days
Change-Id: Ic5f57e1bdcbe63060af46e978392fdf87f019f0c
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Diffstat (limited to 'tasks/kernel.mk')
-rw-r--r-- | tasks/kernel.mk | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tasks/kernel.mk b/tasks/kernel.mk index e3b9f5f..87b55d8 100644 --- a/tasks/kernel.mk +++ b/tasks/kernel.mk @@ -2,14 +2,7 @@ ifneq ($(strip $(SHOW_COMMANDS)),) KERNEL_VERBOSE="V=1" endif -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,,') -else KERNEL_TOOLS_PREFIX ?= $(shell sh -c "cd $(TOP); cd `dirname $(TARGET_TOOLS_PREFIX)`; pwd")/$(shell basename $(TARGET_TOOLS_PREFIX)) -endif LOCAL_CFLAGS=$(call cc-option,"-mno-unaligned-access", ) REALTOP=$(realpath $(TOP)) |