Makefile 695 B

123456789101112131415161718192021222324
  1. ifeq ($(CONFIG_MTK_SECURITY_SW_SUPPORT), y)
  2. #######################################
  3. # Specify source files
  4. #######################################
  5. #include $(MTK_ROOT_BUILD)/Makefile
  6. MTK_PLATFORM := $(subst ",,$(CONFIG_MTK_PLATFORM))
  7. MASP_CORE_DRIVER_DIR := $(srctree)/drivers/misc/mediatek/masp
  8. #Kernel 3.18 always use asfv2
  9. asf_link := asfv2
  10. ############################################
  11. #[core_obj] include all the files under asf/core
  12. ################################################
  13. include $(MASP_CORE_DRIVER_DIR)/$(asf_link)/Makefile.core
  14. include $(MASP_CORE_DRIVER_DIR)/$(asf_link)/Makefile.mach
  15. # INCLUDE ASP LIBRARY
  16. sec-y += $(core_obj) $(mach_obj)
  17. # BUILD-IN
  18. obj-y += sec.o
  19. endif