rules.mk 514 B

123456789101112131415161718192021
  1. #
  2. # Copyright (c) 2023, MediaTek Inc. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. LOCAL_DIR := $(call GET_LOCAL_DIR)
  7. MODULE := apusys
  8. LOCAL_SRCS-y:= ${LOCAL_DIR}/apusys.c
  9. PLAT_INCLUDES += -I${LOCAL_DIR} -I${LOCAL_DIR}/${MTK_SOC} -I${LOCAL_DIR}/apusys_rv/2.0
  10. $(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
  11. SUB_RULES-y := ${LOCAL_DIR}/${MTK_SOC}
  12. SUB_RULES-y += ${LOCAL_DIR}/devapc
  13. SUB_RULES-y += ${LOCAL_DIR}/apusys_rv/2.0
  14. $(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y)))