aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index f9baeef0ac..4bdd24a592 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -23,11 +23,11 @@ else
endif
ifneq (,$(findstring uml,$(BOARD)))
- KERNEL_CC:=$(HOSTCC)
- KERNEL_CROSS:=
+ KERNEL_CC?=$(HOSTCC)
+ KERNEL_CROSS?=
else
- KERNEL_CC:=$(TARGET_CC)
- KERNEL_CROSS:=$(TARGET_CROSS)
+ KERNEL_CC?=$(TARGET_CC)
+ KERNEL_CROSS?=$(TARGET_CROSS)
endif
PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )