mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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: Vishal Bhoj <vishal.bhoj@linaro.org> Signed-off-by: Michael Scott <michael.scott@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
This commit is contained in:
parent
1dc5392265
commit
3a17dd413a
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
.PHONY: build-greybus
|
||||
|
||||
ifneq ($(TARGET_NO_KERNEL), true)
|
||||
$(PRODUCT_OUT)/ramdisk.img: build-greybus
|
||||
endif
|
||||
|
||||
GREYBUS_MODULE_OUT_PATH := $(PRODUCT_OUT)/root/lib/modules
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue