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.
33 lines
1.2 KiB
33 lines
1.2 KiB
# Copyright (c) Huawei Technologies Co., Ltd. 2013-2020. All rights reserved.
|
|
|
|
LIB_SUBDIRS += targets
|
|
|
|
LITEOS_PLATFORM := $(subst $\",,$(LOSCFG_PLATFORM))
|
|
ifneq ($(LOSCFG_PLATFORM_EXTENDED_FEATURE),)
|
|
LITEOS_PLATFORM = $(subst $\",,$(LOSCFG_PLATFORM))/$(subst ",,$(LOSCFG_PLATFORM_EXTENDED_FEATURE))
|
|
endif
|
|
|
|
PLATFORM_INCLUDE := -I $(LITEOSTOPDIR)/targets/include \
|
|
-I $(LITEOSTOPDIR)/targets/$(LITEOS_PLATFORM)/include \
|
|
-I $(LITEOSTOPDIR)/targets/$(LITEOS_PLATFORM)/vendor/include
|
|
|
|
ifeq ($(LOSCFG_LIB_LIBC), y)
|
|
PLATFORM_INCLUDE += -I $(LITEOSTOPDIR)/lib/liteos_libc/time
|
|
endif
|
|
|
|
ifeq ($(LOSCFG_SAFETY_KERNEL)$(LOSCFG_BOX), yy)
|
|
BOX_CFG_SRC := $(LITEOS_PLATFORM)/box/boxes_cfg
|
|
PLATFORM_INCLUDE += -I $(LITEOSTOPDIR)/targets/$(LITEOS_PLATFORM)/box/boxes_cfg
|
|
PLATFORM_INCLUDE += -I $(LITEOSTOPDIR)/targets/$(LITEOS_PLATFORM)/box/usrdrvlib
|
|
include $(LITEOSTOPDIR)/targets/$(LITEOS_PLATFORM)/box/boxes_cfg/boxes.mk
|
|
endif
|
|
|
|
LITEOS_PLATFORM_INCLUDE += $(PLATFORM_INCLUDE)
|
|
LITEOS_CXXINCLUDE += $(PLATFORM_INCLUDE)
|
|
|
|
LITEOS_BASELIB += -ltargets
|
|
|
|
ifeq ($(LOSCFG_KERNEL_MIN), y)
|
|
LITEOS_BASELIB += -linit
|
|
endif
|