Only warn about SDCLANG exclusion once

Please finally shut up. Thanks.

Change-Id: If288e23d43a984a8397b9316eb9711aa3907f435
This commit is contained in:
Christopher N. Hesse 2017-04-25 19:28:34 +02:00 committed by Alex Naidis
parent 3ebfa6fd2a
commit 7f825775e2
1 changed files with 6 additions and 3 deletions

View File

@ -12,9 +12,12 @@ BOARD_USES_ADRENO := true
include device/qcom/common/utils.mk
ifneq ($(HOST_OS),linux)
$(warning ****************************************************************)
$(warning * SDCLANG is not supported on non-linux hosts. Disabling...)
$(warning ****************************************************************)
ifneq ($(sdclang_already_warned),true)
$(warning **********************************************)
$(warning * SDCLANG is not supported on non-linux hosts.)
$(warning **********************************************)
sdclang_already_warned := true
endif
else
# include definitions for SDCLANG
include device/qcom/common/sdclang/sdclang.mk