blob: 498925c608a76ad045f68a9944ccf7b834da8299 [file] [log] [blame]
Chungying Lua566cc92023-03-15 14:16:28 +08001#
2# Copyright (c) 2023, MediaTek Inc. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7LOCAL_DIR := $(call GET_LOCAL_DIR)
8
9MODULE := apusys
10
11LOCAL_SRCS-y:= ${LOCAL_DIR}/apusys.c
12
Karl Lieb629492023-04-27 14:00:10 +080013PLAT_INCLUDES += -I${LOCAL_DIR} -I${LOCAL_DIR}/${MTK_SOC} -I${LOCAL_DIR}/apusys_rv/2.0
Chungying Lua566cc92023-03-15 14:16:28 +080014
15$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
16
17SUB_RULES-y := ${LOCAL_DIR}/${MTK_SOC}
Karl Li130536e2023-04-21 11:43:24 +080018SUB_RULES-y += ${LOCAL_DIR}/devapc
Karl Lieb629492023-04-27 14:00:10 +080019SUB_RULES-y += ${LOCAL_DIR}/apusys_rv/2.0
Chungying Lua566cc92023-03-15 14:16:28 +080020
21$(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y)))