kernel: don't build for TARGET_NO_KERNEL targets

Change-Id: I14ad45c06922c0775e0574ddbcfcdc33353af465
This commit is contained in:
Dan Pasanen 2017-12-08 13:46:30 -06:00
parent 1334e75013
commit 8ee5d891b0

View file

@ -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