## Do not change.
##########################################
-ifndef CONFIG_KASAN
-KBUILD_CFLAGS += -Wlarger-than=28792
-KBUILD_CFLAGS += -Wstack-usage=1956
-else
+ifdef CONFIG_KASAN
ifeq ($(call cc-ifversion, -lt, 0500, y), y)
$(error -----GCC VERSION TOO SMALL FOR KASAN -----)
endif
endif
-# These 2 marked sentence is just for generate warning messages
-#KBUILD_CFLAGS += -Wno-error=larger-than=28792
-#KBUILD_CFLAGS += -Wno-error=stack-usage=1856
obj-$(CONFIG_CPU_FREQ) += cpufreq/
obj-$(CONFIG_AMLOGIC_DVB_DMX) += dvb_demux.o
-#ccflags-y += -I$(srctree)/drivers/media/dvb-core -I$(srctree)/drivers/gpio -I$(srctree)/include -fno-tree-scev-cprop
-ccflags-y += -I$(srctree)/drivers/media/dvb-core -fno-tree-scev-cprop
+#ccflags-y += -I$(srctree)/drivers/media/dvb-core -I$(srctree)/drivers/gpio -I$(srctree)/include
+ccflags-y += -I$(srctree)/drivers/media/dvb-core
dvb_demux-objs += aml_dvb.o
dvb_demux-objs += aml_dsc.o
-KBUILD_CFLAGS += -Wlarger-than=28792
-KBUILD_CFLAGS += -Wstack-usage=1856
-
obj-$(CONFIG_AMLOGIC_SND_SOC) += meson/
obj-$(CONFIG_AMLOGIC_SND_SOC) += auge/
obj-$(CONFIG_AMLOGIC_SND_SOC) += common/
-KBUILD_CFLAGS += -Wlarger-than=28792
-KBUILD_CFLAGS += -Wstack-usage=1856
-
#Amlogic
snd-soc-dummy_codec-objs := dummy_codec.o
snd-soc-pdm-dummy-objs := pdm_dummy.o