diff options
Diffstat (limited to 'plat/mediatek/drivers/apusys/rules.mk')
-rw-r--r-- | plat/mediatek/drivers/apusys/rules.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plat/mediatek/drivers/apusys/rules.mk b/plat/mediatek/drivers/apusys/rules.mk new file mode 100644 index 0000000..498925c --- /dev/null +++ b/plat/mediatek/drivers/apusys/rules.mk @@ -0,0 +1,21 @@ +# +# Copyright (c) 2023, MediaTek Inc. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + +LOCAL_DIR := $(call GET_LOCAL_DIR) + +MODULE := apusys + +LOCAL_SRCS-y:= ${LOCAL_DIR}/apusys.c + +PLAT_INCLUDES += -I${LOCAL_DIR} -I${LOCAL_DIR}/${MTK_SOC} -I${LOCAL_DIR}/apusys_rv/2.0 + +$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL))) + +SUB_RULES-y := ${LOCAL_DIR}/${MTK_SOC} +SUB_RULES-y += ${LOCAL_DIR}/devapc +SUB_RULES-y += ${LOCAL_DIR}/apusys_rv/2.0 + +$(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y))) |