diff --git a/build/tasks/kernel.mk b/build/tasks/kernel.mk index 438dcaa9..426af62c 100644 --- a/build/tasks/kernel.mk +++ b/build/tasks/kernel.mk @@ -70,6 +70,7 @@ # NEED_KERNEL_MODULE_ROOT = Optional, if true, install kernel # modules in root instead of system +ifneq ($(TARGET_NO_KERNEL),true) TARGET_AUTO_KDIR := $(shell echo $(TARGET_DEVICE_DIR) | sed -e 's/^device/kernel/g') @@ -408,3 +409,5 @@ endif .PHONY: kernel kernel: $(INSTALLED_KERNEL_TARGET) + +endif # TARGET_NO_KERNEL