Commit 3a17dd41 authored by Vishal Bhoj's avatar Vishal Bhoj Committed by Johan Hovold

greybus: build: android: avoid building for targets that don't have kernel binary

For sdk related targets, the greybus build will error out due to missing
kernel dependency.  Let's avoid those targets by checking TARGET_NO_KERNEL.
Signed-off-by: default avatarVishal Bhoj <vishal.bhoj@linaro.org>
Signed-off-by: default avatarMichael Scott <michael.scott@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
parent 1dc53922
.PHONY: build-greybus
ifneq ($(TARGET_NO_KERNEL), true)
$(PRODUCT_OUT)/ramdisk.img: build-greybus
endif
GREYBUS_MODULE_OUT_PATH := $(PRODUCT_OUT)/root/lib/modules
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment