ifeq ($(CONFIG_SOCT_KMOD_CFLAGS),) ccflags-y += $(CONFIG_SOCT_KMOD_CFLAGS) endif ccflags-y += -Idrivers/drv/ioctl_inc/generic ccflags-y += -Idrivers/drv/ext_inc/base ccflags-y += -D_FORTIFY_SOURCE=2 -O2 -fstack-protector-all MODNAME := soc_base obj-$(CONFIG_SOCT_BASE_SUPPORT) += $(MODNAME).o $(MODNAME)-objs-y += soc_init.o $(MODNAME)-objs := $($(MODNAME)-objs-y)