diff --git a/common.mk b/common.mk index 45e6371b..45aecc9b 100644 --- a/common.mk +++ b/common.mk @@ -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