KBUILD_CFLAGS += -Werror #only reserved19 and reserved17 use governor_bifrost_ondemand, ifneq ($(findstring $(CONFIG_SOCT_CHIP_TYPE), "reserved19" "reserved17" "hi3751v811"),) obj-$(CONFIG_DEVFREQ_GOV_BIFROST_ONDEMAND) += governor_bifrost_ondemand.o else obj-$(CONFIG_DEVFREQ_GOV_BIFROST_ONDEMAND) += governor_bifrost_ondemand_reserved9.o endif ccflags-y += -Idrivers/devfreq