forked from piyl8cs5f/Iot_Cs_best
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
412 B
23 lines
412 B
include $(LITEOSTOPDIR)/config.mk
|
|
|
|
MODULE_NAME := $(notdir $(shell pwd))
|
|
|
|
LOCAL_SRCS := $(wildcard *.c)
|
|
|
|
ifeq ($(LOSCFG_PERF_HW_PMU), y)
|
|
LOCAL_SRCS += $(wildcard pmu/perf_hw_pmu.c)
|
|
endif
|
|
|
|
ifeq ($(LOSCFG_PERF_TIMED_PMU), y)
|
|
LOCAL_SRCS += $(wildcard pmu/perf_timed_pmu.c)
|
|
endif
|
|
|
|
ifeq ($(LOSCFG_PERF_SW_PMU), y)
|
|
LOCAL_SRCS += $(wildcard pmu/perf_sw_pmu.c)
|
|
endif
|
|
|
|
LOCAL_FLAGS := $(LOCAL_INCLUDE)
|
|
|
|
include $(MODULE)
|
|
|