rules.mk 385 B

1234567891011121314151617
  1. #
  2. # Copyright (c) 2022, MediaTek Inc. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. #
  7. LOCAL_DIR := $(call GET_LOCAL_DIR)
  8. MODULE := pm
  9. LOCAL_SRCS-y := ${LOCAL_DIR}/mtk_pm.c
  10. $(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))
  11. SUB_RULES-$(CONFIG_MTK_PM_SUPPORT) := $(LOCAL_DIR)/armv${CONFIG_MTK_PM_ARCH}
  12. $(eval $(call INCLUDE_MAKEFILE,$(SUB_RULES-y)))