Chungying Lu | a566cc9 | 2023-03-15 14:16:28 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2023, MediaTek Inc. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | LOCAL_DIR := $(call GET_LOCAL_DIR) |
| 8 | |
| 9 | MODULE := apusys |
| 10 | |
| 11 | LOCAL_SRCS-y:= ${LOCAL_DIR}/apusys.c |
| 12 | |
Karl Li | eb62949 | 2023-04-27 14:00:10 +0800 | [diff] [blame] | 13 | PLAT_INCLUDES += -I${LOCAL_DIR} -I${LOCAL_DIR}/${MTK_SOC} -I${LOCAL_DIR}/apusys_rv/2.0 |
Chungying Lu | a566cc9 | 2023-03-15 14:16:28 +0800 | [diff] [blame] | 14 | |
| 15 | $(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL))) |
| 16 | |
| 17 | SUB_RULES-y := ${LOCAL_DIR}/${MTK_SOC} |
Karl Li | 130536e | 2023-04-21 11:43:24 +0800 | [diff] [blame] | 18 | SUB_RULES-y += ${LOCAL_DIR}/devapc |
Karl Li | eb62949 | 2023-04-27 14:00:10 +0800 | [diff] [blame] | 19 | SUB_RULES-y += ${LOCAL_DIR}/apusys_rv/2.0 |
Chungying Lu | a566cc9 | 2023-03-15 14:16:28 +0800 | [diff] [blame] | 20 | |
| 21 | $(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y))) |