
KBUILD_CFLAGS += -Werror

#only shaolinsword and shaolinknive use governor_bifrost_ondemand,
ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "shaolinsword" "shaolinknive" "hi3751v811"),)
obj-$(CONFIG_DEVFREQ_GOV_BIFROST_ONDEMAND) += governor_bifrost_ondemand.o
else
obj-$(CONFIG_DEVFREQ_GOV_BIFROST_ONDEMAND) += governor_bifrost_ondemand_shaolingun.o
endif

ccflags-y += -Idrivers/devfreq
