rules.mk 380 B

123456789101112131415
  1. #
  2. # Copyright (c) 2022, MediaTek Inc. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. LOCAL_DIR := $(call GET_LOCAL_DIR)
  7. MODULE := mtk_common
  8. LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_bl31_setup.c
  9. LOCAL_SRCS-y += ${LOCAL_DIR}/mtk_smc_handlers.c
  10. LOCAL_SRCS-$(MTK_SIP_KERNEL_BOOT_ENABLE) += ${LOCAL_DIR}/cold_boot.c
  11. $(eval $(call MAKE_LOCALS,$(LOCAL_SRCS-y),$(MTK_BL)))